Skip to main content
Glama

close_rail

Idempotent

Close the public address. Existing threads stay. New agents cannot connect.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenNoAgent token, if not sent as the Authorization: Bearer header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / token / description
      Added value: +"Agent token, if not sent as the Authorization: Bearer header."
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already indicate a non-read-only, idempotent mutation, and the description adds meaningful behavioral context: existing threads are preserved and new agent connections are rejected. This goes beyond the annotation hints without contradicting them.

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 short sentences with zero filler. The action and headline effect are front-loaded, and the behavioral consequences are stated compactly and clearly.

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?

For a simple tool with one optional parameter and no output schema, the description covers the essential behavior and side effects. It does not mention reversibility or how to reopen the address, but the sibling publish_rail implies that path, so the description is nearly complete.

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 description coverage is 100%, so the optional 'token' parameter is fully documented in the schema. The tool description does not add parameter-level detail, which is acceptable given the schema already carries that burden.

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?

The description uses a specific verb and resource: 'Close the public address.' It clearly differentiates from siblings like publish_rail (opposite action) and disconnect_agent/block_agent by stating the exact effect ('Existing threads stay. New agents cannot connect.'), so an agent can distinguish it from alternative operations.

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

Usage Guidelines3/5

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

The description implies usage—use this to stop new agents from connecting while preserving existing threads—but it does not explicitly state when to use it versus alternatives such as block_agent or disconnect_agent. No exclusions or when-not-to-use guidance is provided.

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