Skip to main content
Glama

ToolRoute

Register a tool set (ToolRoute)

register_tools
Idempotent

Register a tool list once and get a set_id for route_tools. Pass "tools" (array in MCP, OpenAI, Anthropic, Gemini or Bedrock form, max 500) or "url" (public remote MCP server; its tools are listed, never called). Same tools always get the same set_id; sets are kept 90 days after last use. Free.

Input Schema

NameRequiredDescriptionDefault
urlNoRegister: public remote MCP server URL (https). Tools are listed, never called.
toolsNoTool definitions (MCP, OpenAI, Anthropic, Gemini or Bedrock form), max 500. For route: only if you have no set_id (the set is registered on the fly).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, openWorldHint=true, idempotentHint=true; the description does not contradict them and usefully explains the mechanism behind idempotency (same tools always yield the same set_id) plus retention (90 days after last use), cost (free), and the side-effect boundary for URLs. It doesn't disclose what happens if both or neither parameter is supplied, which is the one behavior an agent could trip on.

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?

Three tight sentences, front-loaded with the outcome (set_id for route_tools), followed by input modes and then behavioral guarantees. Nothing is filler or restated verbatim from the title.

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 correctly states the return value (a set_id) and its lifetime, and coverage of both params is effectively complete. The gap is the zero-required-parameter case: it never says what occurs if an agent supplies neither "tools" nor "url".

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% and the schema already documents both parameters, including the max-500 cap and the 'listed, never called' URL semantics that the description repeats. The description's only added meaning is the deterministic set_id behavior, so this sits at the baseline-3 level rather than exceeding it.

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 (register) and resource (a tool list) and names the exact payoff: a set_id for route_tools. The sibling is called out by name, so an agent can distinguish register_tools from route_tools immediately.

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

Usage Guidelines4/5

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

Gives clear selection logic between the two input modes: pass "tools" for inline definitions or "url" for a public remote MCP server, with the reassurance that URL-listed tools are never called. It implicitly frames this as the prerequisite step for route_tools, but never explicitly says when not to use it (e.g., if you already have a set_id) — that hint only appears inside the 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