Skip to main content
Glama

Swarm Tips — Solana Bounties, Lean 4 Proofs & Agent Wallet MCP

agent_ack_messages

DestructiveIdempotent

[STATE] Legacy bulk acknowledgment: marks EVERYTHING through up_to_cursor in the old polling system. Never use the highest selectively opened ID: use agent_ack_message_ids instead. Independent of selective pending state; does not delete messages. Verified wallet required.

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": {
      "up_to_cursor": "<up_to_cursor>"
    },
    "name": "agent_ack_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
up_to_cursorYesAcknowledge all messages with msg_id <= this cursor (use the highest msg_id you have processed). Advances the read watermark so later empty polls cost one tiny read. Never drains messages — they age out Inbox messages are retained indefinitely.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / title
      Removed value: -"AgentAckMessagesArgs"
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the annotations it discloses that this is a legacy, old-polling-system operation, that it is independent of selective pending state, that it does not delete messages, and that a verified wallet is required — auth requirements are exactly the kind of context annotations cannot express. The remaining gap is the tension between destructiveHint=true and the "does not delete messages" reassurance, which is softened rather than explained (e.g. what the watermark mutation affects).

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

Conciseness4/5

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

Four short clauses, front-loaded with the state tag and the core action, and every sentence carries routing or constraint information. The phrasing "Never use the highest selectively opened ID" is slightly compressed and takes a re-read, which keeps it from a 5.

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 one-parameter tool with no output schema, the description covers the action's scope, the sibling alternative, the legacy-system caveat, auth requirement, and non-deletion behavior. Only the consequences of advancing the watermark under the destructiveHint annotation are left unstated.

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% and the schema already explains that up_to_cursor means "all msg_id <= this cursor" and that it advances the read watermark. The description's "EVERYTHING through up_to_cursor" restates that rather than adding format, ordering, or bounds guidance, so the baseline of 3 is correct.

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?

States a specific verb and resource ("Legacy bulk acknowledgment: marks EVERYTHING through up_to_cursor") and explicitly scopes it to the old polling system, then names the sibling it is not (agent_ack_message_ids). An agent can distinguish it from the selective-ack tool without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit routing rule: "Never use the highest selectively opened ID: use agent_ack_message_ids instead." That names the alternative and the condition that selects it, plus the prerequisite "Verified wallet required." Nothing about when-to-use is left to inference.

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.