x402-nroot
Nroot: Calculate the nth root of a value. Provide value and optional root (default 2, i.e. square root).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Root to process | |
| value | No | Value to process |
Nroot: Calculate the nth root of a value. Provide value and optional root (default 2, i.e. square root).
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Root to process | |
| value | No | Value to process |
Changes observed during successful MCP inspections.
Input schema / properties / rootAdded value: +{
+ "description": "Root to process",
+ "type": "string"
+}Input schema / properties / valueAdded value: +{
+ "description": "Value 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. It doesn't disclose error behavior for negative values or even roots, handling of non-numeric strings (since both params are typed as strings), or precision. For a computation tool with zero annotation coverage, this is a significant gap.
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?
Two short sentences with no waste, front-loading the core operation and immediately following with the parameter default. Every element earns its place.
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 math tool with no annotations, no output schema, and string-typed numeric parameters, the description is incomplete. It doesn't address error handling, input parsing, or return behavior, leaving significant gaps an agent would need to infer.
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 already documents both parameters. The description clarifies that 'root' is optional with a default of 2, adding meaning beyond the schema's terse labels, but doesn't provide format or constraint details beyond the default. Baseline 3 is appropriate when the schema does the heavy lifting.
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?
States a specific verb (calculate) and resource (the nth root of a value), which is clear and unambiguous. It doesn't explicitly differentiate from the thousands of math siblings, but the concept is distinct enough that the description alone identifies the operation.
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?
The description implies usage by describing the operation and noting the default root of 2 (square root), which gives some context for when the default applies. However, it offers no explicit when-to-use guidance or mention of alternatives like exponentiation tools.
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.