SafeResize
Passport and visa photo rules for 83 documents in 49 countries, and upload limits as exact numbers.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 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"
]
}社区
证据