Skip to main content
Glama

x402-rectangular-diagonal

Rectangular Diagonal: Diagonal of rectangular. 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
widthNo
lengthNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / length / description
      Removed value: -"Length to process"
    • removedInput schema / properties / width / description
      Removed value: -"Width to process"
  2. Changed2 schema fields changed
    • addedInput schema / properties / length
      Added value: +{
      +  "description": "Length to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / width
      Added value: +{
      +  "description": "Width to process",
      +  "type": "string"
      +}
  3. First observed

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden, and it discloses almost nothing: not whether width/length are parsed as numbers from strings, whether units are assumed, what happens with non-numeric or negative input, or what the return value looks like. The one genuine behavioral disclosure is the pricing model (5 free trial calls per signed wallet), which is useful but unrelated to how the computation behaves.

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?

Two short sentences with the operation front-loaded and no rambling. The second sentence is a promotional/billing line rather than tool-relevant content, but nothing is buried or repetitive.

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

Completeness2/5

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

A simple two-parameter math tool should be trivially completable in one sentence, yet the definition omits the formula, expected input format (strings holding numbers), and output shape, while there are no annotations or output schema to fill those gaps. An agent would have to guess at units and input validity.

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

Parameters2/5

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

Schema description coverage is 0% and both parameters are bare strings named 'width' and 'length'. The description adds no semantics beyond the names — no unit expectations, no numeric format, no indication whether these are the two legs or something else. For a low-coverage schema the description should compensate, and it does not.

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

Purpose3/5

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

The description names the resource (rectangle diagonal) but restates the title rather than stating a verb and computation, e.g. 'compute the diagonal length from width and length using sqrt(w^2+l^2)'. An agent can infer the intent, and the sibling list contains confusable neighbours (x402-cuboid-diagonal, x402-cube-diagonal, x402-cube-space-diagonal, x402-rect-prism-surface) that the description never distinguishes itself from.

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 and no mention of which sibling to prefer for 3D or prism cases. The only extra sentence concerns free trial calls per signed wallet, which is billing information, not usage guidance.

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