Skip to main content
Glama

Get gateway server

get_gateway_server
Read-only

Read a gateway server's active revision: the configuration the gateway serves. Not found when no revision is active; use list_gateway_server_revisions then.

Input Schema

NameRequiredDescriptionDefault
server_slugYesThe server's slug, from list_gateway_servers. It prefixes the server's tools as <slug>__<tool> for agents.

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 already declare readOnlyHint=true and destructiveHint=false, so safety is covered. The description adds meaningful behavioral context: the not-found behavior when no revision is active, which is not captured by annotations.

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?

Two tight sentences, front-loaded with what is read, then the failure condition. No wasted words.

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?

No output schema, but the description explains the return ('the configuration the gateway serves') and the error case, which is adequate for a single-param read tool. Minor gap: no mention of revision identity/format returned.

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?

Only one parameter with 100% schema coverage; the schema fully documents server_slug including the <slug>__<tool> prefix convention. The description adds nothing beyond the schema, so the baseline 3 applies.

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?

Specific verb 'read' plus precise resource: the gateway server's *active revision*, further clarified as 'the configuration the gateway serves'. This distinguishes it from the sibling get_gateway_server_revision (a specific revision) and get_gateway_server.

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?

States the not-found condition and explicitly routes the agent to list_gateway_server_revisions as the alternative when no active revision exists. Lacks broader when-to-use framing but the key fallback path is named.

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.