Skip to main content
Glama

Compare Businesses

compare_businesses
Read-only

Use this when the user wants a side-by-side comparison of two to twenty known published Loppee business ids. Returns each business's exact class, disclosure, review context, and citation; unknown or unavailable ids are listed as unresolved rather than fabricated.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
business_idsYesTwo to twenty Loppee business ids to compare. Duplicates are de-duplicated.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
dataNo
errorNo
contract_versionYes

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover read-only and non-destructive behavior, so the bar is lower. The description adds valuable behavioral detail beyond the annotations by stating that unknown or unavailable ids are reported as unresolved rather than fabricated, which is a meaningful correctness guarantee an agent needs to know.

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 two sentences with every part earning its place. The use case and constraint are front-loaded, and the second sentence delivers the critical edge-case behavior without padding.

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

Completeness5/5

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

Given a single well-documented parameter, an output schema, and annotations covering safety and world assumptions, the description provides the remaining context an agent needs: input constraints, expected output substance, and the fallback behavior for unresolved ids. Nothing essential is missing.

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?

The input schema fully documents the single parameter, including min and max array length and de-duplication behavior, so the schema carries the semantic weight. The description reinforces the 'two to twenty' bound and adds the 'known published' requirement, but it does not substantially extend the schema's parameter documentation.

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?

The description states a specific verb ('compare'), a specific resource ('two to twenty known published Loppee business ids'), and the exact output contents ('exact class, disclosure, review context, and citation'). This makes the tool's purpose distinct from sibling tools like lookup_business or get_trust_card.

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?

The description explicitly tells the agent when to use the tool ('Use this when the user wants a side-by-side comparison...') and adds the constraint that input must be known published ids. However, it does not name alternative sibling tools or state when not to use it, so it stops short of full 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.

TDQS

A4.3/5.0
Disambiguation4/5

Each tool has a clear primary purpose: lookup, compare, review, trust card, and recommendation explanation. There is minor overlap between get_trust_card and explain_recommendation since both surface status/disclosure/citation, but the descriptions clarify their distinct intents.

Naming Consistency5/5

All tool names follow the consistent verb_noun snake_case pattern, such as get_business_reviews, get_trust_card, and compare_businesses. The verbs are appropriate and the naming style is uniform across the server.

Tool Count5/5

Five tools is well-scoped for a focused read-only business registry and trust information server. Each tool earns its place and there is no evident bloat or redundancy.

Completeness4/5

The server covers the core workflows of identifying a business, viewing its trust context, reading reviews, comparing businesses, and explaining recommendations. Minor gaps include the lack of category discovery or a broader business search endpoint, but these are workable given the stated scope.

Resources