Skip to main content
Glama

MiniURL delete_tag

delete_tag
Destructive

Delete a tag and remove it from all associated links.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tag_idYesThe tag ID to delete.
approval_idNoApproval id returned by a previous USER_APPROVAL_REQUIRED response.
approval_tokenNoLegacy compatibility field; normally omit it and retry with approval_id after approval.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
metaNo
errorNo
successYes
approvalNo
retryableNo
request_idYes
retry_afterNo
next_actionsNo
required_scopeNo
user_action_requiredNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changed
    • changedOutput schema / properties / data / type
      Previous value: -[
      -  "object",
      -  "array",
      -  "null"
      -]New value: +[
      +  "object",
      +  "array",
      +  "string",
      +  "number",
      +  "boolean",
      +  "null"
      +]
  2. Changed8 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / approval_token / description
      Previous value: -"One-time approval token returned after a human approves the request."New value: +"Legacy compatibility field; normally omit it and retry with approval_id after approval."
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +false
    • addedOutput schema / properties / data / additionalProperties
      Added value: +true
    • changedOutput schema / properties / data / type
      Previous value: -[
      -  "object",
      -  "array",
      -  "string",
      -  "number",
      -  "boolean",
      -  "null"
      -]New value: +[
      +  "object",
      +  "array",
      +  "null"
      +]
    • changedOutput schema / properties / error / oneOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "additionalProperties": true,
      -    "properties": {
      -      "code": {
      -        "type": "string"
      -      },
      -      "message": {
      -        "type": "string"
      -      },
      -      "required_scope": {
      -        "type": "string"
      -      },
      -      "retry_after": {
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "retryable": {
      -        "type": "boolean"
      -      },
      -      "user_action_required": {
      -        "type": "boolean"
      -      }
      -    },
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "code": {
      +        "type": "string"
      +      },
      +      "message": {
      +        "type": "string"
      +      },
      +      "required_scope": {
      +        "type": "string"
      +      },
      +      "retry_after": {
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "retryable": {
      +        "type": "boolean"
      +      },
      +      "user_action_required": {
      +        "type": "boolean"
      +      }
      +    },
      +    "required": [
      +      "code",
      +      "message",
      +      "retryable"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedOutput schema / properties / request_id / minLength
      Added value: +8
    • changedOutput schema / required
      Previous value: -[
      -  "request_id"
      -]New value: +[
      +  "success",
      +  "request_id"
      +]
  3. Changed3 schema fields changed
    • addedInput schema / properties / approval_id
      Added value: +{
      +  "description": "Approval id returned by a previous USER_APPROVAL_REQUIRED response.",
      +  "type": "string"
      +}
    • addedInput schema / properties / approval_token
      Added value: +{
      +  "description": "One-time approval token returned after a human approves the request.",
      +  "type": "string"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "approval": {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    "data": {
      +      "type": [
      +        "object",
      +        "array",
      +        "string",
      +        "number",
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "error": {
      +      "oneOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "additionalProperties": true,
      +          "properties": {
      +            "code": {
      +              "type": "string"
      +            },
      +            "message": {
      +              "type": "string"
      +            },
      +            "required_scope": {
      +              "type": "string"
      +            },
      +            "retry_after": {
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "retryable": {
      +              "type": "boolean"
      +            },
      +            "user_action_required": {
      +              "type": "boolean"
      +            }
      +          },
      +          "type": "object"
      +        }
      +      ]
      +    },
      +    "meta": {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    "next_actions": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "request_id": {
      +      "type": "string"
      +    },
      +    "required_scope": {
      +      "type": "string"
      +    },
      +    "retry_after": {
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "retryable": {
      +      "type": "boolean"
      +    },
      +    "success": {
      +      "type": "boolean"
      +    },
      +    "user_action_required": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "request_id"
      +  ],
      +  "type": "object"
      +}
  4. Changed2 schema fields changed
    • addedInput schema / properties / tag_id / minimum
      Added value: +1
    • changedInput schema / properties / tag_id / type
      Previous value: -"number"New value: +"integer"
  5. First observed

TDQS

A4/5.0
Behavior4/5

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

The annotation declares destructiveHint=true, and the description adds valuable context by specifying that the deletion also removes the tag from all associated links—a side effect beyond simply deleting the tag. This goes beyond what the annotation alone conveys. The approval flow is not mentioned, but the schema covers it, so the description's addition is meaningful.

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 description is a single sentence that is concise and front-loaded with the verb and object. Every word adds value: 'Delete a tag' states the action, and 'remove it from all associated links' clarifies the full effect. There is no redundancy or filler.

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 operation, the description explains the primary side effect (unlinking), which is key context. The approval mechanism is documented in the schema, and an output schema exists, so return values do not need description. However, it does not explicitly mention that the deletion is permanent or irreversible, though this is inferable from the destructiveHint annotation. Overall, it is sufficiently complete for the tool's complexity.

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%, with clear descriptions for tag_id, approval_id, and approval_token. The tool description does not add parameter semantics, but given full schema coverage, the baseline of 3 is appropriate. It would be higher only if the description provided extra insight beyond the schema, which it does not.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Delete') with a clear resource ('tag') and states the key consequence ('remove it from all associated links'). This distinguishes it from sibling tools like untag_link (which removes a tag from a link but does not delete the tag) and delete_link (which deletes links). The cascade behavior is explicitly mentioned, making the purpose unambiguous.

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 description implies usage (delete a tag completely, including its associations), but it does not explicitly state when to use this tool versus alternatives like untag_link or provide any exclusions or prerequisites. There is no mention of when approval is required, though that is documented in the schema. The guidance is implied rather than explicit.

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.

TDQS

A3.9/5.0
Disambiguation5/5

Each tool targets a clearly distinct resource and action: links, domains, tags, auth, and account status are all separate concerns. Even similar tools like shorten_url and bulk_create_links are differentiated by single vs. batch creation, and check_alias is distinct from get_link by checking availability before creation.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case (e.g., add_domain, delete_link, list_tags, verify_registration_code). Mixed verb styles like tag/untag and shorten_url are still predictable and fit the established convention.

Tool Count3/5

At 23 tools, the set is on the heavy side and falls in the 16-25 borderline range. The number is somewhat justified by the broad scope (links, domains, tags, auth, analytics), but it approaches the upper limit where an agent may have difficulty selecting between many options.

Completeness5/5

The tool surface covers the full lifecycle of short links (create, read, update, delete, list, stats), domain management (add, delete, verify, list), tags (create, list, delete, tag/untag), and account/auth flows (guest tokens, registration, pro upgrade). It is hard to identify any critical missing operation for the stated purpose.

Resources