Skip to main content
Glama

compare_pair

Jämför två leverantörer/alternativ mot varandra i en kategori (t.ex. Bahnhof vs Telia i bredband). Returnerar pris, betyg, badge och fördelar för båda.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryYesKategori/nisch (kör list_categories för giltiga)
option_aYesFörsta alternativet, t.ex. "Bahnhof"
option_bYesAndra alternativet, t.ex. "Telia"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It does disclose the return contents (price, rating, badge, and advantages for both options), but it does not mention side effects, error behavior, or whether options must already exist in the category.

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?

The description is a single, front-loaded sentence that conveys purpose, scope, example, and return values with no wasted words.

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 simple three-parameter tool, the description covers the core purpose, a concrete example, and the returned fields, which is especially useful given there is no output schema. Minor gaps remain, such as not explicitly pointing to list_categories for valid category values, but the schema already covers that.

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%, so the schema already documents all three parameters. The description adds little beyond the schema, mostly repeating the example values already present in the parameter descriptions.

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 clearly states a specific verb and resource: compare two suppliers/alternatives in a category, with a concrete example (Bahnhof vs Telia i bredband). It is distinguishable from the sibling compare_category by focusing on pairwise comparison, though it does not explicitly name or differentiate that sibling.

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 explicit when-to-use or when-not-to-use guidance is provided. The description does not mention compare_category or any alternative, so an agent must infer when pairwise comparison is appropriate versus other comparison tools.

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.