Skip to main content
Glama

Delete agent account message

stack_delete_account_message
Destructive

Delete one message an agent account received. Requires an account admin; an agent session is refused. Returns ok and status 204.

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": {
      "account_id": "<account_id>",
      "message_id": "<message_id>"
    },
    "name": "stack_delete_account_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
account_idYesAgent account id (acct_*)
message_idYesMessage id from the message list

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the mutation profile is known. The description adds real value by disclosing the permission gate (admin required, agent sessions refused) and the response shape (ok, status 204), but says nothing about irreversibility, side effects on message lists or notification state.

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?

Three short sentences, front-loaded with the action, then the authorization constraint, then the result. No redundant or filler wording.

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?

Covers the essentials for a destructive two-parameter tool: what is deleted, who may call it, and what a successful call returns, even without an output schema. Minor gaps remain around failure modes and whether deletion is permanent, though destructiveHint carries part of that load.

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 account_id and message_id both documented in the schema, so the baseline is 3. The description adds only the loose hint that the message belongs to an agent account and comes from a message list; it gives no format or lookup guidance beyond the schema.

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 (delete) and a precisely scoped resource (one message an agent account received), including the cardinality constraint 'one'. It does not explicitly name a sibling to contrast with, but the resource is unambiguous among the delete_* family.

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?

Gives clear authorization context: an account admin is required and an agent session is refused, which effectively tells the caller when the tool will not work. It stops short of pointing to alternative tools (e.g. access-management siblings) or when deletion is preferable to other remedies.

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.