Skip to main content
Glama

x402node_math_percentage

Calculate percentages: X percent of Y, what percent X is of Y, percent change, percent increase/decrease, tips, discounts, markup, and margin. Auto-paid in USDC on Base.

Instructions

Percentage calculator / percent of / percent change / percent increase decrease / what percentage / tip calculator / discount calculator / markup / margin. Compute percent operations: X percent of Y, what percent X is of Y, percent change from X to Y, X increased or decreased by Y percent.

Price: unknown on Base (auto-paid in USDC).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aYesFirst number (required)
bYesSecond number (required)
opYesOperation: of | what | change | inc | dec (required)
Behavior2/5

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

No annotations are provided, and the description does not disclose behavioral traits such as side effects, authorization needs, or output format. The cryptic note about price ('Price: unknown on Base') adds confusion rather than clarity about behavior.

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

Conciseness3/5

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

The description is relatively short but includes an extraneous and unclear sentence about price. It front-loads use case keywords but could remove the price line for clarity.

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?

The tool is simple, but the description lacks details on return value format, error handling (e.g., division by zero), or edge cases. Given no output schema, this is a gap, though the operations are straightforward.

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?

With 100% schema description coverage, the baseline is 3. The description reinforces the meanings of the 'op' parameter (e.g., 'of', 'change') but does not add new information beyond the schema's minimal descriptions.

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 explicitly lists multiple percentage operations and their interpretations (e.g., 'X percent of Y', 'percent change'), making the tool's purpose clear and distinguishing it from siblings like x402node_math_interest.

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 description enumerates use cases but provides no guidance on when to prefer this tool over alternatives (e.g., x402node_math_interest) or when not to use it. No exclusions or context for selection.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/x402node/x402-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server