Skip to main content
Glama

x402-nroot

Nroot: Calculate the nth root of a value. Provide value and optional root (default 2, i.e. square root).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rootNoRoot to process
valueNoValue to process

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / root
      Added value: +{
      +  "description": "Root to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / value
      Added value: +{
      +  "description": "Value to process",
      +  "type": "string"
      +}
  2. First observed

TDQS

B3.2/5.0
Behavior2/5

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.

Conciseness5/5

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.

Completeness2/5

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.

Parameters3/5

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.

Purpose4/5

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.

Usage Guidelines3/5

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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources