Skip to main content
Glama

AI Tools Repo

Compare two tools

compare_products
Read-onlyIdempotent

Two AI tools side by side, attribute by attribute, from the directory's comparison page. Accepts slugs, names or websites.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "a": "<a>",
      "b": "<b>"
    },
    "name": "compare_products"
  }
}

Input Schema

NameRequiredDescriptionDefault
aYesFirst product: slug, name or website.
bYesSecond product: slug, name or website.
attributesNoOnly these rows of the comparison, e.g. ['Pricing']. Omit for all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and a closed-world scope, so the safety profile is covered. The description adds that results come from the directory's comparison page, hinting that content is limited to pre-existing comparison rows rather than computed on demand. It does not say what happens when a product is unmatched, ambiguous, or has no comparison page.

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?

Two tight sentences with the core behavior front-loaded and no filler. The trailing clause about accepted identifier forms is the least essential part, but nothing is wasted or buried.

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 three-parameter read-only tool with full schema coverage and no output schema, the description covers what the tool returns at a conceptual level (side-by-side attributes, filterable rows). Remaining gaps, such as the shape of the returned comparison or behavior on missing products, are modest.

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 coverage is 100%, with each parameter already documented including the "Omit for all" behavior for `attributes`. The description's "Accepts slugs, names or websites" merely restates the schema's parameter text rather than adding resolution rules, precedence, or ambiguity handling, so the baseline 3 applies.

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?

"Two AI tools side by side, attribute by attribute" states a specific operation (pairwise comparison) on a specific resource (directory products), which separates it cleanly from get_product and find_products. It stops short of a full verb-first statement of purpose, but the scope is unmistakable.

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?

Usage is only implied: an agent infers it should call this when it needs a head-to-head comparison rather than a single lookup. No sibling is named as an alternative (e.g. one lookup twice vs. this tool), and no exclusions or preconditions are given, so the agent must guess at selection criteria.

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