Skip to main content
Glama

compare_message_costs

Read-onlyIdempotent

Compare the same monthly message volumes under the calculator's current and October 2026 Meta rate cards. Returns both USD totals, breakdowns and October-minus-current difference. Free-window traffic distribution is not inferred; this is the same comparison as the web calculator. Excludes Waply plans and taxes.

Input Schema

NameRequiredDescriptionDefault
localeYes
marketYesExact market id from list_meta_pricing_markets, based on the recipient's country calling code. Do not infer it from the user's language.
serviceNoOutgoing free-form service messages per month within an eligible 24-hour window. Current card: free. October card: 1,000 free per number, then charged. Exclude free-entry-point traffic.
utilityNoDelivered, chargeable utility templates per month. For current rates, exclude free utility templates inside the 24-hour window. In a comparison, this same count is used for both cards; no window distribution is inferred.
marketingNoDelivered, chargeable marketing templates per month. Exclude free-entry-point messages.
phoneCountNoWhatsApp business numbers sharing this estimate. October service allowance is pooled as in the web calculator; actual usage per number can differ.
authenticationNoDelivered authentication templates per month at the standard rate. International authentication rates are not modeled.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world. The description adds genuinely useful behavioral context beyond that: free-window traffic distribution is not inferred, and Waply plans and taxes are excluded, which sets expectations about what the result does and does not cover.

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?

Three front-loaded sentences that carry the comparison scope, return shape, and exclusions with minimal waste. Nothing redundant, though the middle sentence about free-window inference is slightly dense for its information value.

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 7-parameter, no-output-schema tool, the description covers what comes back (totals, breakdowns, difference) and the key modeling caveats and exclusions. Only the relationship to the sibling calculation tool is left implicit, which is a minor gap.

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 86%, so the schema already documents most parameters in detail (service, utility, marketing, phoneCount, authentication, market). The description adds little per-parameter meaning, only the general notion of sharing the same volume across both cards, which is the baseline 3 case.

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 verb and resource: compare monthly message volumes across the current and October 2026 Meta rate cards, and names the returned artifacts (both USD totals, breakdowns, October-minus-current difference). This distinguishes it cleanly from the sibling calculate_message_cost, which produces a single cost rather than a two-card comparison.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Frames the scenario (comparing the same volumes under two rate cards) and states it matches the web calculator, plus scoping exclusions (Waply plans, taxes). It does not explicitly name the alternative tool or state when not to use this in favor of calculate_message_cost, so it stops short of clear routing guidance.

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