Skip to main content
Glama
Calculator MCP Server

Calculator MCP Server

Multiply

Multiplies two numbers and returns their product for basic arithmetic calculations.

Instructions

Multiplies two numbers and returns their product

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": {
      "a": "<a>",
      "b": "<b>"
    },
    "name": "Multiply"
  }
}

Input Schema

NameRequiredDescriptionDefault
aYesFirst Number
bYesSecond Number

Output Schema

NameRequiredDescriptionDefault
aYesFirst Input Number
bYesSecond Input Number
resultYesProduct of two numbers
operationYesOperation performed

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It correctly implies a side-effect-free computation and names the returned value, but it says nothing about numeric types, float precision, or overflow behavior, which are the only real behavioral risks for an arithmetic tool.

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?

A single front-loaded sentence with zero redundant or filler wording. Every clause (operation, operands, return value) earns its place.

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?

With a fully described two-parameter schema and an output schema covering the return value, the description is sufficient to call the tool correctly. The only omission is numeric edge-case behavior, which is minor for a trivial arithmetic operation.

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% ('First Number', 'Second Number'), so the schema already documents both required parameters. The description adds nothing beyond that — appropriately, since there is no extra semantics such as ordering or format to convey.

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 gives a specific verb ('Multiplies'), the exact operands ('two numbers'), and the result ('returns their product'). The arithmetic operation is intrinsically distinct from the siblings Add, Divide, and Subtract, so no further disambiguation is needed.

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?

Nothing states when to use this over Add/Divide/Subtract or in what context (unit conversion, scaling, chained computation). The domain is simple enough that an agent can infer usage from the name, but no guidance is actually offered.

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

Deploy Server

Other Tools