Skip to main content
Glama

credential-remove

Destructive

Removes a login from users.json by credential_name, with optional server_id for shared names; previews the plan unless apply=true.

Instructions

dbabrain common.cli credential-remove: One login of users.json to remove, by its credential_name; 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.

  • credential_name (required): The login to remove.

  • server_id: The server whose login it is, where several servers' groups share the name.

  • 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": "credential-remove"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/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, and the description adds real context beyond them: the default is a non-destructive dry-run plan, an extra confirmation (`confirm: "yes"` plus `reason`) is required for emergency-operations commands, and data_dir determines which data/ folder is affected. It stops short of saying whether removal is reversible or what happens if credential_name is absent from the target folder.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The bulleted request-field list is front-loaded and efficient, and the plan-vs-apply statement is well placed. However, the sentence "Changes or removes something." is boilerplate that adds no information, and the opening line is grammatically tangled, costing clarity against its length.

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 destructive mutation tool the description covers the essentials: what is removed, from where, the required identifier, dry-run default, and the extra confirmation protocol. An output schema exists so return values need not be described, leaving only minor gaps such as data_dir defaults and irreversibility.

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% – the schema is a single opaque `request` object – so the description carries the full burden, and it does so by documenting all four request fields (data_dir, credential_name, server_id, apply) with meaning and marking credential_name required. Gaps remain around data_dir's default value and the exact expected format of credential_name/server_id, which keeps it from a 5.

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 description names a specific verb and resource: remove one login from users.json, identified by credential_name, with a plan-by-default mode. The first sentence is awkwardly constructed ("One login of users.json to remove"), but an agent can still tell this is a credential deletion tool distinct from add/check siblings such as remote-credential-add or check-credentials.

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 clearly explains the two modes: absent or false `apply` answers the plan and writes nothing, while true removes the record, which is actionable when-to-use guidance. It also flags that commands on the emergency-operations list require `confirm: "yes"` and a `reason`. It does not explicitly route to alternatives (e.g., an add or inspection sibling), which keeps it below a 5.

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