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). 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
rootNo
valueNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / root / description
      Removed value: -"Root to process"
    • removedInput schema / properties / value / description
      Removed value: -"Value to process"
  2. 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"
      +}
  3. First observed

TDQS

B3.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description carries the full burden. It usefully discloses the default root value and a per-wallet free-call limit, which is genuine behavioral context. However, it says nothing about error handling (e.g., even root of a negative number), output form, or precision, leaving the mutation/edge-case profile undocumented.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the operation and followed by the parameter default, with no wasted prose. The redundant 'Nroot:' prefix restating the tool name and the promotional emoji line are the only minor waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter math tool with no annotations and no output schema, the description covers the operation and the default root but leaves the return value's shape and failure modes implicit. Adequate to call correctly in the happy path, incomplete for edge cases.

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 0% and both params are typed only as strings, so the description must compensate. It does add the key semantic — that root defaults to 2 — but does not clarify whether value must be numeric/positive or that it is effectively required despite the schema marking nothing required.

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?

The description uses a specific verb and resource ('Calculate the nth root of a value') and clarifies the default case (root 2 = square root), which distinguishes it from the many fixed-math siblings like x402-sqrt2 or x402-pow-mod. It stops short of naming which sibling to prefer for related operations, but the core purpose is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only usage information is the parameter advice ('Provide value and optional root') plus a billing note about 5 free trial calls per signed wallet. There is no guidance on when to choose this over square-root or exponentiation siblings, and no mention of constraints such as negative values with an even root.

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