Skip to main content
Glama

Multiply

multiply

Calculate the product of two numbers. Provide the factors to get their multiplication result instantly.

Instructions

Multiply two numbers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aYesThe first factor.
bYesThe second factor.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does not state whether the operation is pure, whether it handles edge cases like NaN or infinity, or what the return type is, though the presence of an output schema mitigates this somewhat. Still, for a mathematical operation, basic behavioral traits like purity and numeric handling are absent.

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 a single, front-loaded sentence with no wasted words. It is appropriately sized for a simple arithmetic operation.

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?

Given the simplicity of the tool, the description is adequate but minimal. It does not explain how it differs from related tools like 'power' or provide any behavioral context, though the output schema and full parameter descriptions reduce the need for additional detail.

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%, so the schema already documents both parameters as 'The first factor' and 'The second factor'. The description adds no additional meaning beyond what the schema provides, so the baseline score of 3 is appropriate.

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?

States a specific verb and resource ('Multiply two numbers'), which is clear and unambiguous. However, it does not differentiate itself from sibling tools like add, subtract, or power, leaving the agent to infer that multiplication is distinct from exponentiation.

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?

No guidance is provided on when to use this tool versus alternatives such as 'power' for repeated multiplication or 'add' for addition. The description offers no context or exclusions, requiring the agent to rely on the tool name alone.

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