Skip to main content
Glama
Swagger MCP Server
by Waltu

find_similar

Locate endpoints similar to a specified service, HTTP method, and path, returning up to a configurable limit of comparable API operations.

Instructions

Find endpoints similar to a given endpoint

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": {
      "service": "<service>",
      "path": "<path>",
      "method": "<method>"
    },
    "name": "find_similar"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesEndpoint path
limitNoMaximum number of similar endpoints (default: 5)
methodYesHTTP method
serviceYesService 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 it discloses essentially nothing. It does not say how similarity is determined (semantic vs. structural), whether the target service must be indexed first, whether results are ranked or scored, or how many are returned without the limit parameter.

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, tightly worded sentence with the verb and the key relational concept front-loaded and no filler. Its brevity is close to under-specification, but nothing is redundant or wasted.

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?

This is a four-parameter lookup with three required fields, no annotations, and no output schema, yet the description is one short sentence. An agent lacks information about result ordering, score/threshold behavior, indexing prerequisites, and what a returned 'similar' endpoint looks like.

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%, so all four parameters (service, path, method, limit) are already documented in the schema, including the default value of limit. The description adds no semantics beyond what the schema states, 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?

The description gives a specific verb ('Find') and a specific resource ('endpoints similar to a given endpoint'), which is more informative than a generic search. It does not, however, differentiate itself from plausible siblings such as search_endpoints, semantic_search, or get_endpoint_details, which an agent could confuse with this similarity lookup.

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?

There is no explicit guidance on when to use this tool versus search_endpoints or semantic_search, nor any stated preconditions. The phrase 'similar to a given endpoint' implies a use case, but the agent must infer the selection rule from the name alone.

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