Skip to main content
Glama

Read routing rules

routing_read
Read-onlyIdempotent

Read-only: the project's routing.json. action "get": the file and whether it is in force. "check": what a visitor with no password gets at path (env, default preview; or host, another address under the site domain such as an old slug's), asked from outside through the routing, since http_get and http_request skip it; with username and password (a test password you set, never the owner's), whether that sign-in gets in. To change it use the routing tool.

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": {
      "action": "<action>",
      "project": "<project>"
    },
    "name": "routing_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
envNocheck: default preview.
hostNocheck: ask another address under the platform's site domain instead, e.g. the old <slug>.lazyfrog.app after a slug rename: a redirect says where it goes, with path and query.
pathNocheck: the path to ask for, e.g. "/staff".
actionYes
projectYesProject slug or id.
passwordNocheck: a test password you set yourself; never ask the owner for theirs. It isn't kept.
usernameNocheck: try a sign-in with this username and password through the public address.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive, so the safety profile is covered; the description adds genuinely new behavior: that routing is skipped by http_get/http_request, that env defaults to preview, and that the supplied password "isn't kept" and must be a self-set test password. It does not say what the check actually returns (redirect target, status, body), which is the main missing behavioral detail.

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?

Content is dense and front-loaded with the read-only constraint, and no sentence is filler for a 7-parameter, two-action tool. Structure suffers somewhat from telegraphic fragments and a heavily nested parenthesis around env/host, which costs a little parseability.

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 carry the burden of explaining results, and it characterizes outcomes in prose (whether the file is in force, what an anonymous visitor gets, whether a sign-in succeeds). That is adequate for a read tool with annotations and rich param docs, though a short note on the shape of the "check" result would close the remaining gap.

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 already 86%, so the baseline is 3; the description goes further by explaining the intent behind the check parameters — path is what a visitor requests, host asks another address under the site domain (with the old-slug rename example), and username/password only make sense together as a test sign-in. It adds meaning beyond the schema's field descriptions rather than restating them.

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 ("Read-only: the project's routing.json") and then splits the tool into its two concrete actions, "get" (the file and whether it is in force) and "check" (what a visitor with no password gets at path). An agent can distinguish this from the mutation sibling "routing" and from http_get/http_request without opening any schema.

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?

Explicitly routes the agent elsewhere when the intent differs: "To change it use the routing tool," and explains that "check" must be used for outside-visitor behavior "since http_get and http_request skip it." It also scopes the credential case ("a test password you set, never the owner's"), leaving little to inference.

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