Skip to main content
Glama

delete_credential

Deletes a connection after chat confirmation, preventing accidental removal when live bundles may still use it.

Instructions

Delete a connection. Requires the user's confirmation: live bundles may be using the connection.

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": {
      "appId": "<appId>",
      "credentialId": "<credentialId>",
      "confirmed": "<confirmed>"
    },
    "name": "delete_credential"
  }
}

Input Schema

NameRequiredDescriptionDefault
appIdYesApp ID
confirmedYesThe user confirmed the deletion in chat
credentialIdYesConnection ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. It usefully discloses two traits beyond the schema: confirmation is mandatory and live bundles may reference the connection. It stops short of stating whether deletion is permanent/reversible, whether it is blocked when bundles are live, or what errors look like - material gaps for an irreversible mutation.

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, the operation first and the guardrail second, with no wasted words. Nothing could be removed without losing either the action or the safety warning.

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

Completeness3/5

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

For a 3-parameter destructive tool with no annotations and no output schema, the definition covers purpose and the confirmation requirement but leaves the consequences underspecified. An agent knows it must get consent, yet not what state is left behind or whether dependent bundles break.

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 all three parameters (appId, credentialId, confirmed) are documented in the schema itself. The description adds no format, range, or cross-parameter semantics, so the baseline of 3 applies.

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 and resource ('Delete a connection'), which is unambiguous about the operation. It does not explicitly differentiate itself from the sibling 'delete_entity' or other credential operations, so an agent must infer the boundary from the resource name alone.

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 definition names a precondition (the user must confirm in chat) and hints at the risk condition ('live bundles may be using the connection'), which implies when to be careful. It does not say when to use this versus 'update_credential' or 'refresh_credential', nor what to do if bundles are live.

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