Skip to main content
Glama

Compare phone numbers

compare_phone_numbers
Read-onlyIdempotent

Compare two numbers after analysis. Missing context produces indeterminate. Extensions must match unless extensionPolicy is explicitly ignore; equality does not establish ownership.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
leftYes
rightYes
extensionPolicyNoexact

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
metaYes
resultYes
limitationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already indicate read-only, idempotent, and non-destructive behavior. The description adds useful behavioral warnings about indeterminate results from missing context and that equality does not imply ownership, going beyond the annotations.

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?

The description is brief and front-loaded with the main action, with no redundant filler. The phrase 'after analysis' is slightly unclear but does not significantly harm conciseness.

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

Completeness2/5

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

The tool has nested objects, optional fields, enums, and a default policy, but the description does not explain the output format, the meaning of 'missing context', or how country codes influence comparison. Important usage context is missing for an agent to call this reliably.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description does not explain key parameters like left, right, detail, numberCountryCode, or originCountryCode. It only touches on extensionPolicy behavior, leaving most parameter meanings implicit and requiring inference from names.

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 the verb 'compare' and the resource 'two numbers', which clearly indicates the core function. It is distinguishable from sibling tools like normalize or analyze, though the phrase 'after analysis' adds slight ambiguity.

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?

The description gives some conditional guidance about extensionPolicy and missing context, but it does not explicitly state when to use this tool versus sibling tools such as analyze_phone_number or normalize_phone_numbers. It implies comparison use cases but lacks direct alternative routing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources