Skip to main content
Glama
MCP Financial Calculator

MCP Financial Calculator

multiply

Multiplies two numbers to return their product, supporting basic arithmetic within financial calculations such as scaling cash flows or unit pricing.

Instructions

Multiply two numbers.

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
aYes
bYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description bears the full disclosure burden, and for a pure arithmetic operation the behavior is essentially fully conveyed: deterministic, side-effect free, and stateless. It does not state the return type explicitly, but nothing about the operation is hidden or surprising.

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 front-loaded sentence with zero filler, appropriate for the tool's triviality. It is terse to the point of near-under-specification, but no wording is wasted.

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?

For a two-parameter, no-side-effect arithmetic primitive with no output schema and no annotations, the description is essentially sufficient to call the tool correctly. Missing details are minor and largely inferable from the operation itself.

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 0% and the two parameters (a, b) have no descriptions, so the schema supplies only types. The description's 'two numbers' maps loosely to both parameters and confirms numeric operands, but adds no ordering, operand-role, or range semantics beyond what the type declarations already say.

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 states a specific verb and resource ('Multiply two numbers'), which is unambiguous and, by virtue of the verb, implicitly distinguishes it from arithmetic siblings like add, subtract, and divide without naming them.

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?

There is no explicit when-to-use or when-not-to-use guidance, no mention of alternatives, and no note on input constraints. For a single-purpose arithmetic primitive the usage is strongly implied, but it is left to inference rather than stated.

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