x402-manhattan-distance
Manhattan Distance: Distance between manhattan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | No | X1 to process | |
| x2 | No | X2 to process | |
| y1 | No | Y1 to process | |
| y2 | No | Y2 to process |
Manhattan Distance: Distance between manhattan.
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | No | X1 to process | |
| x2 | No | X2 to process | |
| y1 | No | Y1 to process | |
| y2 | No | Y2 to process |
Changes observed during successful MCP inspections.
Input schema / properties / x1Added value: +{
+ "description": "X1 to process",
+ "type": "string"
+}Input schema / properties / x2Added value: +{
+ "description": "X2 to process",
+ "type": "string"
+}Input schema / properties / y1Added value: +{
+ "description": "Y1 to process",
+ "type": "string"
+}Input schema / properties / y2Added value: +{
+ "description": "Y2 to process",
+ "type": "string"
+}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, and it discloses nothing: not the formula, not the output type (a number returned as a string?), not the coordinate convention, not error behavior. For a 4-parameter computational tool with zero annotation coverage this is essentially a blank.
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?
It is short, but brevity comes from under-specification rather than economy; the single sentence is circular and front-loads no actionable information.
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?
With no annotations, no output schema, and vacuous parameter descriptions, the description leaves an agent unable to know what will be returned or how the four inputs map to a result. Even for a simple pure function, the definition is not complete enough to call correctly with confidence.
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 nominally 100%, but the schema descriptions are placeholder text ("X1 to process", "Y1 to process") that conveys no meaning, and the parameters are typed as strings despite being numeric coordinates. The description adds nothing to explain that (x1,y1) and (x2,y2) form two points, so the baseline-3 assumption (schema does the heavy lifting) does not hold here.
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?
"Manhattan Distance: Distance between manhattan" restates the tool name/title and never says what the tool actually computes (sum of absolute coordinate differences) or what inputs it takes. It also fails to distinguish it from close siblings such as x402-chebyshev-distance, x402-distance2d, and x402-geo-distance. This is a tautology rather than a specification.
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 guidance on when to use this metric versus other distance tools, no prerequisite or coordinate-frame notes, and no exclusions. The sibling list contains many near-identical distance tools, so the absence of routing guidance is a real gap.
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.