Skip to main content
Glama

Compare extensions side by side

compare_extensions
Read-onlyIdempotent

Compare 2 to 5 extensions or apps on install count, rating, version, and freshness in one call. Prefer this over repeated get_extension calls when the question is comparative.

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": {
      "ids": "<ids>"
    },
    "name": "compare_extensions"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYesExtension or app ids to compare.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered structurally. The description adds the efficiency rationale ("in one call") and the compared fields, but says nothing about return shape or behavior on invalid/missing ids. With annotations carrying the safety burden, a 3 is appropriate.

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?

Two sentences with zero waste: capability and cardinality first, then the routing preference. Nothing to trim.

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 single-param, richly annotated read tool, the description covers what is compared and when to use it. The one residual gap is the exact response structure (per-id result objects vs. a table), which no output schema documents. Minor but real for a comparative tool.

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?

Only one parameter with 100% schema coverage; the schema already documents the 2–5 cardinality via minItems/maxItems. The description restates the count bound and identifies the values as "extension or app ids," adding no format or syntax detail beyond the schema. Baseline 3 is correct.

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?

States a specific verb ("Compare") with a bounded resource set (2 to 5 extensions or apps) and enumerates the comparison dimensions: install count, rating, version, freshness. This is clearly distinguishable from siblings like get_extension or get_ranking.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly names the alternative pattern ("repeated get_extension calls") and the condition that selects this tool ("when the question is comparative"). An agent can route correctly without opening either schema.

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