Skip to main content
Glama

Read a website's upload rules

interpret_upload_rules
Read-only

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesThe rules exactly as the website writes them

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds real behavior beyond that: it explains the byte-range ambiguity handling (1,000 vs 1,024 bytes per KB) and that it also returns the SafeResize tool that fixes the file, which tells the agent this is pure computation plus a recommendation step.

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

Conciseness4/5

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

A single front-loaded sentence that moves from the input to the enumerated outputs with no filler. It is dense but readable; the only minor cost is that the list of outputs makes it long.

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 compensates by enumerating what comes back (KB limits, byte range, pixels, file type, fix tool). That is sufficient for calling it correctly, though it references a 'SafeResize tool' that is not among the listed siblings, which could cause slight ambiguity about follow-up routing.

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?

Only one parameter exists and schema coverage is 100%, so the baseline is 3. The description reiterates that the input is the rules as the website writes them, matching the schema text, but adds no format caveats or examples beyond what the schema already documents.

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 names a concrete verb (turn/interpret), the input artifact (the upload rules a website shows) and the concrete outputs (KB limits, byte range, pixels, file type). It is clearly distinct from the sibling requirements-lookup tools, though it never names an alternative to differentiate against explicitly.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the agent can infer this is the tool to call when it has raw rule text and needs numeric constraints. There is no explicit when-to-use, when-not-to-use, or comparison against check_file_numbers/find_photo_requirements, leaving the routing decision to inference.

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