Skip to main content
Glama
shadmaanAsif

MCP Demo

by shadmaanAsif

Add two numbers

add

Adds two numbers together and returns their sum. Use it to perform basic addition in MCP-compatible clients over stdio.

Instructions

Adds two numbers together and returns their sum.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aYesThe first number
bYesThe second number

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?

No annotations are provided, so the description carries the full behavioral burden. It states the operation is pure addition but discloses nothing about return format, numeric precision, integer vs float handling, or overflow behavior.

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 waste. Appropriately sized for the operation's triviality.

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?

For a two-param arithmetic tool with full schema coverage and no output schema, the description is minimally viable. It could do more on numeric semantics (float precision, edge cases) given no annotations and no output schema.

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% and both parameters ('a', 'b') are documented in the schema, so the baseline is 3. The description adds nothing beyond the schema, e.g. ordering or numeric type constraints.

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 (Adds) and resource (two numbers) with the outcome (returns their sum). It's unambiguous, though with no siblings there's nothing to differentiate from.

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 when-to-use guidance, no exclusions, no alternatives. For a trivial arithmetic tool this is largely self-evident, but the description provides no contextual guidance at all.

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