Skip to main content
Glama

Compare two stacks

compare_stacks
Read-onlyIdempotent

Compare two products' tech stacks side by side: the tools they share and the ones only each uses, with a link to the comparison page.

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_stacks"
  }
}

Input Schema

NameRequiredDescriptionDefault
aYesFirst product's slug
bYesSecond product's slug

Output Schema

NameRequiredDescriptionDefault
aYes
bYes
onlyAYes
onlyBYes
sharedYes
compareUrlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare this a read-only, idempotent, non-destructive, closed-world operation, so the safety profile is covered. The description adds behavior beyond that by disclosing the shape of the result (shared tools, exclusive tools, comparison page link), which helps the agent anticipate the response.

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?

A single front-loaded sentence that states the action and then the output content, with no redundant or filler wording.

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 two required, fully documented parameters, rich annotations, and an output schema, the description covers what an agent needs to select and invoke the tool. Minor gaps such as behavior on an unknown slug are not addressed but are not essential for a read-only comparison.

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% and both parameters are documented as product slugs, so the description need not restate them. Its phrase 'two products' corroborates the slug semantics but adds no format or disambiguation detail beyond the schema.

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 names a specific verb and resource (compare two products' tech stacks) and enumerates what the comparison yields: shared tools, tools exclusive to each, and a link to the comparison page. It does not name the single-product sibling (get_product_stack) as the alternative, so an agent must infer that distinction from the sibling name alone.

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 implied by the description: use this when you need a side-by-side comparison of two products' stacks. There is no explicit when-not guidance, no mention of what to use for a single product's stack, and no prerequisites stated, leaving routing to inference.

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