Skip to main content
Glama

Get the official photo rules for a document

get_photo_requirements
Read-only

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
document_idYesFrom find_photo_requirements, e.g. "us-visa", "uk-passport", "schengen-visa", "in-oci"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. Because there is no output schema, the enumerated return fields (size, pixel rule, file size, background, self-made acceptance, source URL, verification date) do add real value, but no behavioral traits such as freshness guarantees or failure modes are described.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single sentence, but it is a long comma-spliced list that mixes legitimate return-field information with promotional content ("a link to make the photo free at saferesize.com"). Front-loading is fine, yet not every clause earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description carries the burden of explaining the return payload and does so fairly thoroughly for a one-parameter read tool. What is missing is usage context relative to the sibling tools rather than any return-value detail.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the single parameter's description already supplies example values ("us-visa", "uk-passport") and points to find_photo_requirements as the source. The description text adds nothing about document_id, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific resource — official photo rules for one document — and enumerates the fields returned, so an agent knows exactly what comes back. It does not, however, name or contrast with the sibling find_photo_requirements (that link only appears in the schema), so sibling differentiation is only implicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance, no stated relationship to find_photo_requirements (which supplies the document_id) or to interpret_upload_rules. The only usage-adjacent text is a promotional pointer to saferesize.com, which does not help selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources