Skip to main content
Glama

Remove a server from an agent

remove_machine
Destructive

Removes one of the servers an agent may log into.

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": {
      "agent_id": "<agent_id>",
      "alias": "<alias>"
    },
    "name": "remove_machine"
  }
}

Input Schema

NameRequiredDescriptionDefault
aliasYes
agent_idYesThe agent id, like agt_j8bbg89jv5 (get_account lists them).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and readOnlyHint=false, so the safety profile is conveyed structurally. The description adds nothing beyond that: it does not say whether the removal is reversible, what happens to an agent whose only machine is removed, or whether a non-existent alias errors out. For a destructive mutation this is a thin addition.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though its brevity edges toward under-specification rather than genuine concision.

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

Completeness2/5

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

A destructive, non-idempotent, two-parameter mutation with no output schema needs more than one sentence: the meaning of alias, failure modes, and post-removal effects are all absent. The annotation coverage helps, but the description leaves substantial gaps relative to the tool's risk.

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

Parameters2/5

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

Schema coverage is only 50%: agent_id is documented (with a pointer to get_account) but alias has no description at all. The description does not compensate — it never explains that "alias" identifies which server to remove, nor mentions format or length constraints, leaving one of two required parameters semantically opaque.

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 verb ("Removes") and resource ("one of the servers an agent may log into"), so the basic operation is unambiguous. It does not differentiate itself from siblings like add_machine or list_machines, and the terminology drifts between "machine" (name/title) and "server" (description), but the core action is clear.

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?

There is no when-to-use guidance, no prerequisites (e.g., that the alias must already be registered to the agent), and no mention of alternatives such as add_machine or test_machine. The agent must infer the entire usage context from the name alone.

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