Skip to main content
Glama

delete_alias

DestructiveIdempotent

Remove an alias from a document. The versions stay; links that follow the alias stop playing.

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": {
      "document_id": "<document_id>",
      "alias": "<alias>"
    },
    "name": "delete_alias"
  }
}

Input Schema

NameRequiredDescriptionDefault
aliasYesThe alias to remove. Links that follow it stop playing.
document_idYesThe document, `doc_…`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is covered; the description adds real value by explaining the blast radius — versions are preserved but alias-following links break. It stops short of covering permissions required, error behavior if the alias is absent, or what a successful call returns.

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 the action front-loaded and the consequence second. No filler, no restating of the tool name, and every clause carries information.

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 two-parameter, non-open-world mutation with no output schema, the definition covers what is removed and what survives, and annotations cover reversibility and safety. Minor gaps remain around permission requirements and the absence-vs-error case, but they are not blockers for correct invocation.

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 coverage is 100%, so both parameters are documented in the schema, and the alias description there already repeats the 'links stop playing' consequence. The description adds no new format, syntax, or constraint detail beyond what the structured schema provides, 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?

The description gives a specific verb and resource — 'Remove an alias from a document' — which an agent can act on immediately. It does not name or contrast with the obvious counterpart, set_alias, so sibling differentiation is only implicit in the inverse wording ('Remove').

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 guidance on when to use this tool versus alternatives such as set_alias, nor any stated precondition (e.g. alias must exist, required permissions). The only usage signal is the implied inverse relationship to alias setting, which the agent must infer.

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