Skip to main content
Glama

report-server-remove

Destructive

Remove a server from a report's canonical inventory; unless apply is true, return a plan without writing. Emergency-operation requests require confirm 'yes' and a reason.

Instructions

dbabrain common.cli report-server-remove: One server to take off the report's canonical inventory; a plan unless apply. Changes or removes something. A command on the emergency-operations list takes confirm: "yes" and a reason in its request, as on the command line. Request fields (pass them as request):

  • data_dir: The data/ folder the record is removed from.

  • server_id (required): The server to take off.

  • inventory: The canonical inventory's path.

  • apply: true removes the record; absent or false answers the plan and writes nothing.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "report-server-remove"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description adds genuinely non-redundant behavior: the default is a non-writing plan, apply=true is what mutates, and emergency-operations commands demand confirm="yes" plus a reason. The one gap is that it never says whether this specific command is on that emergency list, leaving the agent to guess whether confirm/reason are required here.

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?

The purpose is front-loaded, the plan-vs-apply distinction follows immediately, and the request fields are a scannable list with zero padding. The only minor filler is the vague bridge sentence 'Changes or removes something,' which is small against an otherwise tight structure.

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 an output schema present, return values need no explanation, and the description covers the destructive action, the dry-run default, and the request payload. Completeness is slightly undercut by the unresolved question of whether confirm/reason apply to this command and by the undefined requiredness of data_dir and inventory.

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 0% and the schema exposes only an opaque `request` object with additionalProperties true, so the description must carry all meaning; it does, enumerating data_dir, server_id, inventory and apply with a required marker on server_id and a semantic explanation of apply. What it does not clarify is whether data_dir or inventory are mandatory, mutually exclusive, or defaulted, and the flat schema reports no required parameters at all.

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?

The first line states a concrete verb and resource: it removes one server from the report's canonical inventory, and it establishes the plan-by-default semantics. That is far more specific than a bare 'remove', though it never distinguishes itself from the other remove-family siblings (credential-remove, entry-remove, instance-remove) beyond the domain wording of 'report's canonical inventory'.

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?

It gives a clear when/when-not in miniature: 'a plan unless apply' tells the agent to call it without apply for a dry run and set apply only when it intends to write. It also flags the confirm/reason precondition for emergency-operations commands. There is no explicit statement of alternatives among the sibling remove tools, which keeps it out of 5 territory.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools