SafeResize
Passport and visa photo rules for 83 documents in 49 countries, and upload limits as exact numbers.
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"saferesize": {
"url": "https://saferesize.com/mcp"
}
}
}Remote-Endpunkte
https://saferesize.com/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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).
Eingabe-Schema
{
"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"
]
}Community
Nachweis