Skip to main content
Glama

x402-refractive-index

Refractive Index: Computes refractive index as the speed of light divided by the speed in the medium 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
speedLightNo
mediumSpeedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / mediumSpeed / description
      Removed value: -"MediumSpeed to process"
    • removedInput schema / properties / speedLight / description
      Removed value: -"SpeedLight to process"
  2. Changed2 schema fields changed
    • addedInput schema / properties / mediumSpeed
      Added value: +{
      +  "description": "MediumSpeed to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / speedLight
      Added value: +{
      +  "description": "SpeedLight to process",
      +  "type": "string"
      +}
  3. First observed

TDQS

C2.9/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 behavioral burden. It discloses the computation and the 5-free-call wallet policy, but says nothing about accepted units, expected magnitude/format of the string inputs, output shape, or error behavior for a physics calculation where unit assumptions are critical.

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 compact sentence leads with the purpose and formula, followed by a short pricing note. Nothing is bloated, though the trial-call emoji line is promotional rather than functional.

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?

For a two-parameter numeric tool with no annotations and no output schema, the description should at minimum pin down units and result format. It leaves both unspecified, so an agent cannot confidently invoke it without guessing.

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 0%, so the schema gives no help. The description partially compensates by mapping both parameters conceptually: speedLight is the speed of light and mediumSpeed is the speed in the medium. However, it never states units (m/s vs km/s) or string format, which is the key ambiguity for these parameters.

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 specific quantity and even states the exact formula (speed of light divided by speed in the medium), so an agent knows precisely what is computed. It does not, however, distinguish this tool from look-alike siblings such as x402-light-speed, x402-speed, or x402-wave-speed, 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 Guidelines2/5

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

There is no statement of when to use this tool versus alternatives, no preconditions, and no exclusions. The only directive content is the pricing note about free trial calls, which does not help an agent decide between this and the many adjacent physics/unit tools.

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