Skip to main content
Glama

nth_root

Compute the nth root of a number by providing the radicand and root index. Solves root calculations directly with accurate results.

Instructions

Calculate the nth root of a number.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nYes
numberYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/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. 'Calculate' implies a pure computation with no side effects, but the description does not disclose edge-case behavior such as handling of negative numbers, zero or negative n, non-integer n, or potential error conditions.

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?

The description is a single efficient sentence with no filler or repetition. It is not as informative as it could be, but it is concise and front-loaded with the core purpose.

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?

This is a minimal but viable definition for a simple math operation: an agent can likely call it correctly for standard inputs. However, it lacks usage context relative to siblings and does not address edge cases, making it incomplete for robust agent decision-making.

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%, so the description must compensate. The phrase 'nth root of a number' implies that 'number' is the radicand and 'n' is the root index, which adds some meaning. However, it does not clarify constraints like n needing to be a positive integer or number needing to be non-negative for even roots.

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 ('Calculate') and clearly identifies the operation and resource: the nth root of a number. It is distinct from siblings like square_root and power by the nature of the operation, though it does not explicitly reference any alternative tool.

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?

No guidance is given for when to use this tool versus related siblings such as square_root or power. There are no exclusions, preconditions, or alternative suggestions, so the agent must infer usage solely from the tool name and brief description.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.