Compare products
compare_productsTwo to four products of the same type side by side: prices, specifications, warranty, returns, three-year cost, limitations and sources.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes |
compare_productsTwo to four products of the same type side by side: prices, specifications, warranty, returns, three-year cost, limitations and sources.
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds real value beyond that by disclosing the returned content dimensions, which matters because there is no output schema. It stops short of covering failure behavior (e.g., what happens if the ids are of mixed types).
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
One dense sentence with zero filler; the cardinality and homogeneity constraints are front-loaded ahead of the field enumeration. Every clause carries information an agent can act on.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description correctly takes on the job of describing what comes back (including three-year cost and sources). For a one-parameter read-only tool this is nearly complete; only error/edge-case behavior for mismatched product types is missing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Reported schema coverage is 0%, but the schema itself constrains minItems 2 / maxItems 4 and describes ids as coming from a search result. The description restates the cardinality ('two to four') and adds one genuinely new constraint not in the schema: the products must be of the same type. That is useful but thin for the single required parameter.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Names the resource (products) and the operation is unambiguous from the name plus the phrase 'side by side', then enumerates exactly what is compared: prices, specifications, warranty, returns, three-year cost, limitations and sources. It does not explicitly contrast with siblings like get_product or running_cost, so it earns a 4 rather than a 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
'Two to four products of the same type' implies the preconditions (cardinality and homogeneity) but never states when to pick this over get_product (single item) or running_cost (cost only). Usage is inferable from the field list, not spelled out.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.