SafeResize
Passport and visa photo rules for 83 documents in 49 countries, and upload limits as exact numbers.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"saferesize": {
"url": "https://saferesize.com/mcp"
}
}
}Puntos de conexión remotos
https://saferesize.com/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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).
Esquema de entrada
{
"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"
]
}Comunidad
Evidencia