Skip to main content
Glama

federation_search

Read-onlyIdempotent

Route a natural-language intent to the right platform on the ComOS network — the first thing to call. Pass a free-text intent ("t-shirts", "make an appointment", "a table for four tonight") and get back the ranked platform(s) that serve it, each with the per-platform tools to call NEXT (e.g. bookings → services_search_all, then booking_request). This returns a ROUTE, not a transaction: it tells you where to go; you then act on that platform with the chosen tenant. An intent no platform serves returns an empty route (unroutable: true), never a silent default. The same intent always routes the same way. An intent about prompts ("is there a prompt that opens a shop?") returns a prompt_library pointer — introspection_prompt_library to search ComOS's governed prompts, federation_prompt_run to run one — even when no platform routes it. Returns: A route: ranked platforms (platform_id, label, why_matched, score, entry_points) plus unroutable:true when no platform serves the intent. Example: call federation_search with arguments {}.

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": {
      "intent": "<intent>"
    },
    "name": "federation_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax ranked platforms to return (default: all matches)
intentYesThe natural-language need to route, e.g. "make an appointment"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/non-destructive annotations, the description discloses the tools' semantics: it returns a route rather than performing a transaction, unservable intents yield an empty route with unroutable:true rather than a silent default, and routing is deterministic for the same intent. It also explains the prompt-library fallback, which no annotation conveys.

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?

Front-loaded with the core routing statement and the routing-vs-transaction distinction, which is the right priority order. It runs long and ends with a defective example line that adds no value and contradicts the schema.

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 no output schema, the description does the necessary work by enumerating the return shape (platform_id, label, why_matched, score, entry_points) plus the unroutable case. The only real gap is the misleading empty-arguments example, which undermines otherwise complete guidance.

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%, so `intent` and `limit` are already documented; the description's contribution is only illustrative intent strings ("t-shirts", "a table for four tonight") and it never mentions `limit`. Worse, the closing example 'call federation_search with arguments {}' contradicts the schema's required `intent` field and could mislead an agent into an invalid call.

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 and resource — 'Route a natural-language intent to the right platform on the ComOS network' — and positions itself explicitly as 'the first thing to call'. That verb+ordering combination separates it cleanly from siblings like federation_catalog_platforms or federation_why without needing to inspect them.

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?

Gives explicit ordering ('first thing to call'), concrete intent examples, and names the downstream tools to invoke after routing (services_search_all, then booking_request). It also names the alternative path for prompt-shaped intents (introspection_prompt_library, federation_prompt_run), so the agent knows exactly which sibling handles that case.

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.