Skip to main content
Glama

x402-interpolate

Interpolate: Interpolates linearly between a and b using t, defaulting t to 0.5 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
aNo
bNo
tNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / a / description
      Removed value: -"A to process"
    • removedInput schema / properties / b / description
      Removed value: -"B to process"
    • removedInput schema / properties / t / description
      Removed value: -"T to process"
  2. Changed3 schema fields changed
    • addedInput schema / properties / a
      Added value: +{
      +  "description": "A to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / b
      Added value: +{
      +  "description": "B to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / t
      Added value: +{
      +  "description": "T 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?

With no annotations, the description carries the full behavioral burden and does little with it. It does disclose the t default and a payment-model detail ('5 free trial calls per signed wallet'), but says nothing about return format, numeric-string handling, or what happens with out-of-range t (extrapolation vs clamping).

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 compact sentence front-loads the core behavior, followed by a short promo clause. Little waste, though the emoji trial-offer line is promotional rather than functional and could be trimmed.

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?

No annotations, no output schema, and three parameters with zero schema documentation. For a numeric-computation tool the description should at least clarify input string format and result shape; as written it leaves the agent guessing about both.

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 0% and all three parameters are typed merely as strings, so the description must compensate. It conveys that a and b are endpoints and t is the interpolation factor with a 0.5 default, which is real added meaning, but it leaves the string encoding (decimal strings? numeric format?) and valid ranges unexplained.

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 and resource ('Interpolate') and spells out the operation: linear interpolation between a and b using t. That is concrete and unambiguous. However, it does not differentiate itself from close siblings such as x402-lerp, x402-lerp-value, x402-interpolation, or x402-map-to-range, so an agent cannot route between them from this text alone.

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 gives no when-to-use or when-not-to-use guidance and names no alternative. The only usable cue is the default t=0.5, which tells the agent the parameter is optional but not when this tool is preferable to the near-identical lerp/interpolation siblings.

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