Skip to main content
Glama

x402-fraction-to-percent

Fraction To Percent: Convert a fraction to a percentage.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
numeratorNoNumerator to process
denominatorNoDenominator to process

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / denominator
      Added value: +{
      +  "description": "Denominator to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / numerator
      Added value: +{
      +  "description": "Numerator to process",
      +  "type": "string"
      +}
  2. First observed

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure, and it delivers almost nothing beyond the operation itself. It does not say the tool is a pure side-effect-free computation, does not describe the return format (e.g., whether it yields '25%' or 0.25), and does not address edge cases such as a zero denominator.

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 short sentence that is front-loaded with the operation. It is efficient, though it largely restates the tool name rather than adding new information.

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

Completeness3/5

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

For a simple deterministic conversion with no output schema and no annotations, the description is minimally adequate: an agent can infer the operation from the name. It omits input format (numeric strings) and output format, which for a converter tool are the details an agent would most want.

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 coverage is 100%, so the schema nominally documents both parameters, which sets the baseline at 3. However, those schema descriptions are tautological ('Numerator to process'), and the description adds nothing — notably it never clarifies the unusual string typing of the numeric inputs or that the denominator must be non-zero.

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?

States a specific verb (Convert) and both source and target resources (fraction → percentage), which is unambiguous. It does not, however, differentiate itself from adjacent siblings such as x402-percent-to-ratio, x402-decimal-to-fraction, or x402-ratio-to-percent, relying on the name alone to disambiguate direction.

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 guidance on when to use this tool versus the many sibling conversion tools (decimal-to-fraction, ratio-to-percent, percent-to-ratio). Usage is only inferable from the tool name; no context, prerequisites, or alternatives are given.

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