x402-lerp
Lerp: Linearly interpolate between two values a and b by a factor t (0-1). Provide a, b, and optional t (default 0.5). 🆓 5 free trial calls per signed wallet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | No | ||
| b | No | ||
| t | No |
Lerp: Linearly interpolate between two values a and b by a factor t (0-1). Provide a, b, and optional t (default 0.5). 🆓 5 free trial calls per signed wallet
| Name | Required | Description | Default |
|---|---|---|---|
| a | No | ||
| b | No | ||
| t | No |
Changes observed during successful MCP inspections.
Input schema / properties / a / descriptionRemoved value: -"A to process"Input schema / properties / b / descriptionRemoved value: -"B to process"Input schema / properties / t / descriptionRemoved value: -"T to process"Input schema / properties / aAdded value: +{
+ "description": "A to process",
+ "type": "string"
+}Input schema / properties / bAdded value: +{
+ "description": "B to process",
+ "type": "string"
+}Input schema / properties / tAdded value: +{
+ "description": "T to process",
+ "type": "string"
+}Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations exist, so the description carries the full burden. It usefully discloses the default t=0.5 and the expected 0-1 range, plus the payment constraint of 5 free trial calls per signed wallet. However, it does not say whether out-of-range t is clamped or extrapolated, what happens with non-numeric input, or anything about the result, all of which matter for a math tool with no output schema.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The core definition is front-loaded in a single tight sentence, followed by one short line about the default and trial quota. Every sentence carries some value, though the emoji and trial-call note are more marketing than functional.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a trivial two-value interpolation with three optional parameters and no output schema, the description covers the core semantics and the default adequately. The main remaining gaps are the return type and edge-case behavior for t outside 0-1.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate, and it does partially by mapping a, b, and t to their roles and giving t a range and default. It does not explain that all three parameters are declared as strings (presumably numeric strings), nor what happens if a non-numeric string is passed.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and operation: linearly interpolate between a and b by factor t. That is unambiguous about what the tool computes. It does not distinguish itself from near-identical siblings such as x402-inverse-lerp, x402-lerp-value, x402-interpolate, or x402-interpolation, so an agent must infer the difference from the names alone.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no explicit guidance on when to pick this tool over x402-inverse-lerp, x402-interpolate, or x402-lerp-value, nor any stated preconditions. The only usable cue is the implicit default of t=0.5, which tells an agent it can be called with just a and b.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.