Skip to main content
Glama

x402-remap

Remap: Remap a value from one numeric range to another. Provide value, fromMin/fromMax and toMin/toMax.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toMaxNoToMax to process
toMinNoToMin to process
valueNoValue to process
fromMaxNoFromMax to process
fromMinNoFromMin to process

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / fromMax
      Added value: +{
      +  "description": "FromMax to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / fromMin
      Added value: +{
      +  "description": "FromMin to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / toMax
      Added value: +{
      +  "description": "ToMax to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / toMin
      Added value: +{
      +  "description": "ToMin to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / value
      Added value: +{
      +  "description": "Value 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?

No annotations are provided, so the description carries the full behavioral burden. It does not disclose edge-case behavior such as what happens when fromMin equals fromMax, whether output is clamped to the target range, whether extrapolation is allowed, or how numeric strings are parsed. For a parameterized math transform, this is a significant transparency gap.

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?

The description is short and front-loaded: the core operation is stated in the first sentence, followed by the required inputs. It is appropriately sized for a simple numeric utility, though the leading 'Remap:' is slightly redundant with the tool name.

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 five-parameter math transform with no output schema and no annotations, the description tells the agent what to supply but omits the mapping formula, handling of degenerate ranges, and return type. An agent can reasonably infer standard remap semantics, but the definition is only minimally sufficient rather than complete. The 0 required parameters in the schema make the explicit input list more necessary, and it is present.

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 100%, so the baseline is 3 even though the schema's own descriptions are tautological. The description lists the parameter names value, fromMin/fromMax, and toMin/toMax, but adds no formula or semantic detail beyond what the parameter names already convey. It neither improves nor worsens the schema's basic coverage.

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 verb and resource: remap a value from one numeric range to another. It is clear enough to distinguish from most sibling tools, though it does not explicitly name close alternatives such as x402-map-to-range or x402-map-value. The initial 'Remap:' repeats the name but the following sentence adds the numeric-range scope.

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?

The description only says which inputs to provide; it gives no guidance on when to use this tool versus related siblings like map-to-range, map-value, clamp, or interpolate. There are no conditions, exclusions, or alternative routing hints. Usage is implied by the operation name but not explained.

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