Skip to main content
Glama

AIBuilder Marketplace: software pricing dossiers

compare_offer_costs

Read-onlyIdempotent

Compare 1 to 3 offers on the same billing term and period. prices maps offer_id to the monthly price the buyer would pay for that product without the offer (same currency as the vendor). Returns fit and cost per offer: pay today, cost over the period with and without the offer, saving, or why it cannot be calculated (credits, a longer trial, unknown duration).

Input Schema

NameRequiredDescriptionDefault
monthsNo
pricesYes
billingNomonthly
offer_idsYes
situationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered. The description adds real value beyond that by disclosing the result shape and the conditions under which no result is produced (credits, a longer trial, unknown duration).

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 sentences, scope stated first, no filler. The middle sentence is dense but earns its place by defining the key nested prices map.

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?

There is no output schema, and the description partly compensates by outlining the return fields and non-computable cases. However, with 0% schema coverage and a nested situation object, several parameters remain unexplained, leaving gaps for a moderately complex tool.

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 0% across 5 params, so the description must compensate. It explains the semantics of prices (offer_id -> monthly buyer price ex-offer, same currency as vendor) and ties billing/terms to the comparison, but leaves months, billing defaults, and the situation object entirely undocumented.

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 (compare) and resource (offer costs) with an explicit scope: '1 to 3 offers on the same billing term and period.' This distinguishes it from generic siblings like compare_products or estimate_cost, though it never names a sibling directly.

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 implies the usage context (comparing a small set of offers on identical terms), but offers no explicit when-to-use vs. when-not guidance and never points to alternatives such as estimate_cost or cost_at_growth.

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