Skip to main content
Glama

Connect apps with routes

hub_routes

Decide what flows where. A route forwards events from one app (or * for any) to another when the event type matches (supports * wildcards such as alert.*) and optionally when the payload contains some text. Templates shape the message, e.g. '{{from}} says {{payload.message}}'. Actions: add, list, remove. Cost: 1 credit per call.

Input Schema

NameRequiredDescriptionDefault
toNo
fromNo
whenNo
actionNoadd
containsNo
route_idNo
templateNo
workspaceNoWorkspace name. Leave as main unless you run severalmain

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses cost (1 credit per call), wildcard matching semantics, and template syntax, but omits critical behavioral details: permissions required, whether remove is destructive or permanent, and what happens when an add conflicts with an existing route.

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?

Front-loads the purpose with 'Decide what flows where' and then packs useful mechanics, an example template, action list, and cost into minimal sentences. Every sentence adds distinct value with no filler or repetition.

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

Completeness3/5

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

For an 8-parameter, multi-action tool with no annotations and no output schema, the description is helpful but incomplete. It does not say which parameters apply to which action (e.g., route_id for remove), nor does it describe what list returns. An agent would still need to infer operational details.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 13%, so the description must compensate, and it largely does: it explains the semantics of from, to, when, contains, template, and action. Only route_id is left unexplained, and workspace is covered by the schema. This is strong but not complete.

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 domain action: it manages event-routing rules that forward events from one app to another. It clearly distinguishes routing from sending by describing the forwarding conditions, wildcards, and templates. It does not name sibling tools, but the core purpose is unambiguous.

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?

Offers the vague hook 'Decide what flows where' but gives no explicit when-to-use criteria or alternatives. It lists actions add, list, remove but does not explain when to choose each or how they relate to sibling hub tools like hub_send. Usage context is implied at best.

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.