Skip to main content
Glama

nestegg-calculators

Percentage Change

percentage-change
Read-onlyIdempotent

Percentage change from one value to another. Null when the starting value is zero.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesEnding value.
fromYesStarting value.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
changePctNoPercentage change (null if from=0).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, covering the safety profile. The description adds the null behavior for a zero starting value, which is not present in the schema or annotations. This is useful operational context that goes beyond the structured metadata.

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?

The description is two short sentences, immediately stating the core function and then the crucial edge case. Every word earns its place, with no redundant or extraneous information.

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

Completeness5/5

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

For a simple calculation tool with a complete input schema and an output schema present, the description covers the essential purpose and the key special case. No additional context is required for an agent to invoke it correctly.

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?

The input schema provides 100% coverage with descriptions for both 'from' and 'to'. The description's phrase 'from one value to another' simply mirrors the parameter names without adding new semantic detail, so it meets the baseline but adds no additional value.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb-like phrase ('Percentage change from one value to another') and clearly identifies the resource being calculated. It also adds a distinctive edge case (null for zero starting value), which distinguishes it from simple arithmetic tools and clarifies its scope.

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 when to use the tool (whenever a percentage change between two values is needed) but does not explicitly state when not to use it or list alternatives. Given there are many financial calculation tools in the sibling set, more explicit differentiation would be helpful, but the simplicity of the operation makes the inference straightforward.

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.