Skip to main content
Glama

multiply_numbers

Multiply two integers to get their product. Use for multiplication calculations, not addition or division.

Instructions

Calculates the arithmetic product of two integers (a * b). Use this tool when you need to multiply two numbers. Do not use for addition (use 'add_numbers' instead) or division (use 'divide_numbers' instead). Deterministic pure calculation with no side effects.

Input Schema

NameRequiredDescriptionDefault
aYesThe first integer factor.
bYesThe second integer factor to multiply with 'a'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.1

TDQS

A4.5/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses that this is a deterministic pure calculation with no side effects, which is meaningful behavioral context for a mutation-free tool. It doesn't address edge cases like integer overflow, which keeps it short of a 5.

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?

Three short sentences, all earning their place, with the core operation front-loaded before the routing guidance.

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

Completeness5/5

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

For a two-parameter pure arithmetic tool with full schema coverage and no output schema needed, the description covers purpose, routing, and behavioral guarantees. Nothing an agent needs to call it correctly is missing.

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 both parameters are already documented in the schema. The description only restates the a * b relationship, adding no syntax or format detail beyond what the schema provides. Baseline 3 is appropriate.

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?

States a specific operation and resource: 'Calculates the arithmetic product of two integers (a * b).' It even names the sibling tools it should not be confused with, so an agent can distinguish it from add_numbers and divide_numbers without inspecting schemas.

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?

Explicitly states when to use it ('when you need to multiply two numbers') and when not to, naming the exact alternative tools for addition and division. Nothing is left to inference.

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