x402-pythagorean-leg
Pythagorean Leg: Pythagorean Leg
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| leg | No | Leg to process | |
| hypotenuse | No | Hypotenuse to process |
Pythagorean Leg: Pythagorean Leg
| Name | Required | Description | Default |
|---|---|---|---|
| leg | No | Leg to process | |
| hypotenuse | No | Hypotenuse to process |
Changes observed during successful MCP inspections.
Input schema / properties / hypotenuseAdded value: +{
+ "description": "Hypotenuse to process",
+ "type": "string"
+}Input schema / properties / legAdded value: +{
+ "description": "Leg 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 burden of behavioral disclosure, and it discloses nothing. It does not state whether the result is the leg length, what units or precision to expect, how a non-numeric or missing input is handled, or that the operation is a pure computation.
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 the brevity is under-specification rather than conciseness — the single colon-separated restatement earns no place in the prompt. There is nothing to front-load because no substantive content exists.
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 two-parameter math tool with no annotations and no output schema, the description should at minimum state what is computed and what is returned. It supplies neither, leaving the agent unable to distinguish this from x402-pythagorean or any other geometry sibling.
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 100%, so the schema itself documents both 'leg' and 'hypotenuse', which sets the baseline at 3. The description adds no meaning whatsoever beyond the schema, but it does not contradict it either, so it lands at the baseline rather than below it.
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 is a literal restatement of the tool name ('Pythagorean Leg: Pythagorean Leg'), a tautology that names no verb and no operation. It never says the tool computes a missing leg from a hypotenuse and the other leg, nor how it differs from the sibling x402-pythagorean. An agent gets no information beyond the name it already has.
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 when-to-use guidance, no prerequisites, and no mention of the alternative(s) such as x402-pythagorean. With roughly a thousand nearby math/geometry siblings, the absence of any routing signal is a serious 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.