Skip to main content
Glama
mAd-DaWg

mcp_calculator

by mAd-DaWg

eng_format

Convert a numeric value to engineering notation with SI prefix (e.g., 12345 as 12.345k).

Instructions

When: show a real number in engineering form (significand + SI symbol). Prefer evaluate eng_symbols for expression results. Params: value. Example: value=12345 → display "12.345k".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Without annotations, the description carries the burden of behavioral disclosure. It explains the formatting rule via example ('value=12345 → "12.345k"'), but does not mention edge cases (zero, negative, very large) or whether the output is a string. It is adequate for a simple formatting tool but lacks depth.

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 three short sentences, each serving a purpose: the first states the tool's function, the second gives usage guidance, and the third provides a concrete example. It is front-loaded with the action verb and example, making it highly scannable.

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

Completeness4/5

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

Given the tool's simplicity (one parameter, no nested objects) and the presence of an output schema, the description is nearly complete. It explains the purpose, parameter, and example, covering all necessary aspects. It does not describe the return format in detail, but the output schema presumably covers this, per the rubric.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema only defines 'value' as a number with 0% description, so the description must compensate. The description does so by stating 'Params: value' and giving an example that illustrates the parameter's meaning: the real number to be formatted. This fully explains the parameter's role for this simple case.

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 clearly states the tool's function: 'show a real number in engineering form (significand + SI symbol)'. It uses a specific verb ('show') and resource ('real number'), which distinguishes it from sibling tools like 'solve_polynomial' or 'base_convert'. It also explicitly points to 'evaluate eng_symbols' as a preferred alternative for expression results, reinforcing its specific scope.

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

Usage Guidelines5/5

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

The description explicitly states 'When: show a real number in engineering form', providing clear context for appropriate use. It also gives an exclusion: 'Prefer evaluate eng_symbols for expression results', telling the agent when not to use this tool. This direct alternative guidance is exactly what usage guidelines should offer.

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/mAd-DaWg/mcp_calculator'

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