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.5/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. The description adds genuine value by disclosing the KB 1,000-vs-1,024 byte ambiguity handling and that it recommends a downstream tool. It still omits behavior on malformed/ambiguous input and says nothing about error handling.

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?

One dense sentence with the input-to-output contract front-loaded and illustrative examples inline. Every clause carries information, though the trailing list of outputs makes it slightly overloaded.

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?

There is no output schema, and the description compensates by enumerating what it returns (KB limits, byte range, pixels, file type, matching tool). Combined with a fully documented single input and read-only annotations, an agent has enough to invoke it correctly; only input-failure behavior is unaddressed.

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?

There is a single parameter with 100% schema description coverage, so the schema already fully documents it. The description restates the same idea ('the rules exactly as the website writes them') without adding syntax, format, or length guidance, so the baseline of 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 transformation: human-readable upload rules in, exact numeric constraints out (KB limits, byte range, pixels, file type, recommended tool). A verb+resource+output is clear. It does not, however, distinguish itself from siblings like check_file_numbers or get_photo_requirements, leaving the agent to infer the boundary.

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 by the input ('the rules exactly as the website writes them'), so an agent can infer this is for parsing raw rule text. There is no explicit when-to-use versus the sibling requirement-lookup tools, and no stated exclusions or prerequisites.

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