Skip to main content
Glama
Swagger MCP Server
by Waltu

compare_services

Compare endpoints between two services by slug to identify API differences and support cross-service analysis.

Instructions

Compare endpoints between two services

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": {
      "slug1": "<slug1>",
      "slug2": "<slug2>"
    },
    "name": "compare_services"
  }
}

Input Schema

NameRequiredDescriptionDefault
slug1YesFirst service slug
slug2YesSecond service slug

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and does not meet it. It never says what the comparison returns (added/removed endpoints, diffs, counts) or what happens when a slug is invalid or a service is unindexed.

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?

A single short sentence with no filler and the main action front-loaded. Its brevity is efficient, though it reflects under-specification rather than disciplined editing.

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

Completeness2/5

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

With no annotations, no output schema, and a tool whose whole value lies in what the comparison returns, the definition leaves an agent unable to predict the response shape. For a two-service diff operation it should describe the result at least minimally.

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 description coverage is 100% and both required parameters already document themselves as 'First service slug' and 'Second service slug'. The description adds nothing beyond the schema, so 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?

States a specific verb and resource: 'Compare endpoints between two services.' An agent can tell this is a cross-service endpoint diff, distinct from single-service siblings like get_endpoints. It stops short of naming what dimension is compared (paths, methods, schemas), so it is not fully differentiated.

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

Usage Guidelines2/5

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

No when-to-use guidance, no prerequisites (e.g. whether both services must be indexed first, which indexing_status hints might matter), and no mention of alternatives such as find_similar or search_endpoints. The agent must infer invocation conditions entirely.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.