SafeResize

Passport and visa photo rules for 83 documents in 49 countries, and upload limits as exact numbers.

我該用這個嗎

品質與安全性

A
說明品質
100%
結構描述完整度
98%
命名品質
95%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~608Token(工具定義)
~692 B典型回應大小
極小的注意力影響(128k 上下文的 0.47%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "saferesize": {
      "url": "https://saferesize.com/mcp"
    }
  }
}

遠端端點

https://saferesize.com/mcpstreamable-http

它能做什麼

工具清單

工具(4)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢find_photo_requirements(query, limit)

Search SafeResize's verified list of 83 passport and visa photo documents (49 countries and regions) by country, document or form name, e.g. "US visa", "DS-160", "Schengen", "India OCI", "Dubai". Returns matching documents with their document_id.

輸入結構描述

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "Country, document or form, e.g. \"UK passport\" or \"DS-160\""
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 25,
      "description": "Maximum results (default 8)"
    }
  },
  "required": [
    "query"
  ]
}
🟢get_photo_requirements(document_id)

Official photo rules for one document: printed size, pixel rule, file size in KB, file type, background, head size, other rules, whether a self-made photo is accepted, the official source URL and the date SafeResize checked it, plus a link to make the photo free at saferesize.com. Always tell the user to confirm on the official source before applying.

輸入結構描述

{
  "type": "object",
  "properties": {
    "document_id": {
      "type": "string",
      "description": "From find_photo_requirements, e.g. \"us-visa\", \"uk-passport\", \"schengen-visa\", \"in-oci\""
    }
  },
  "required": [
    "document_id"
  ]
}
🟢interpret_upload_rules(text)

Turn the upload rules a website shows (e.g. "JPG only, 10 KB to 50 KB, 200 x 230 pixels" or "PDF not more than 1 MB") into exact numbers: KB limits, a byte range that passes whether the site counts 1 KB as 1,000 or 1,024 bytes, pixels, file type, and the SafeResize tool that fixes the file.

輸入結構描述

{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "description": "The rules exactly as the website writes them"
    }
  },
  "required": [
    "text"
  ]
}
🟢check_file_numbers(file_size_bytes, width, height, format, rules_text)

Check a file's size in bytes, pixels and type against a website's upload rules, without sending the file. Use when you already know the numbers (e.g. from the file's properties).

輸入結構描述

{
  "type": "object",
  "properties": {
    "file_size_bytes": {
      "type": "integer",
      "description": "Exact size in bytes"
    },
    "width": {
      "type": "integer"
    },
    "height": {
      "type": "integer"
    },
    "format": {
      "type": "string",
      "description": "jpg, png, webp or pdf"
    },
    "rules_text": {
      "type": "string",
      "description": "The website's rules as written"
    }
  },
  "required": [
    "rules_text"
  ]
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本4 個工具