Skip to main content
Glama

NeatAnswer

percent_of

Read-only

What is X percent of Y.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "percent": "<percent>",
      "of": "<of>"
    },
    "name": "percent_of"
  }
}

Input Schema

NameRequiredDescriptionDefault
ofYesBase value
percentYesPercent, e.g. 15

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered, and the description adds nothing further — no output format (number vs. string), no rounding or precision behavior, no error handling for non-numeric input. For a pure computation tool this is low-risk, but the description contributes no behavioral context at all.

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?

A single short sentence with no wasted words and the operation front-loaded. It is terse to the point of under-specification rather than verbose, so no trimming is needed.

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 two-parameter arithmetic tool with full schema coverage and annotations covering the safety profile, the definition is minimally sufficient. The missing piece is what the tool returns (numeric type, precision) and how it differs from percent_change, which the agent currently cannot resolve from the description.

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%: "percent" is documented with an example (15) and "of" as "Base value." The description's X/Y phrasing loosely maps to the two parameters but adds no format, range, or unit detail beyond the schema. Baseline 3 applies when the schema does the work.

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

Purpose3/5

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

"What is X percent of Y" restates the tool name in natural-language form and does convey the direction of the computation (percent applied to a base), but it never distinguishes this from the sibling percent_change, which is a different operation. The purpose is inferable but only barely more informative than the name itself.

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?

There is no when-to-use guidance, no mention of when to prefer percent_change or poverty_level_percent instead, and no stated preconditions. The agent must infer entirely from the name which sibling applies.

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