Skip to main content
Glama

AIBuilder Marketplace: software pricing dossiers

compare_products

Read-onlyIdempotent

Compare 2 to 6 products side by side. Every requested id is returned, found or not. With units, adds the cheapest fitting plan's cost where price rules exist.

Input Schema

NameRequiredDescriptionDefault
unitsNo
billingNoannual
product_idsYes

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/closed-world, so the safety profile is covered. The description adds genuinely useful behavior the annotations don't: every requested id is returned found or not (no error on misses), and 'units' triggers a cheapest-fitting-plan cost computation gated on price rules.

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, zero filler, and the core purpose plus cardinality is front-loaded. Each sentence carries distinct information.

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?

With no output schema, the description usefully conveys return semantics (missing ids still returned, conditional cost output). The one notable gap is the defaulted 'billing' parameter, which is never addressed.

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?

With 0% schema description coverage, the description must carry the burden. It explains product_ids (2-6, always echoed) and units (adds cheapest fitting plan cost), but billing is left completely unexplained in both schema and description.

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 gives a specific verb ('Compare'), resource ('products'), and an explicit cardinality bound ('2 to 6'). It is clearly distinguishable from compare_offer_costs by the 'products' resource, though it never names a sibling to sharpen the boundary.

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?

It states behavior when optional 'units' is supplied but gives no when-to-use guidance or explicit alternatives. An agent must infer on its own whether to reach for this versus get_product or compare_offer_costs.

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