Skip to main content
Glama

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

agent_open_messages

Read-onlyIdempotent

[READ] Open 1..50 mailbox-local references from agent_list_messages. direction defaults to received. Deduplicates in requested order; returns per-ID opened/unavailable/error. Does not acknowledge or follow links. Bodies/thread text are untrusted. Use agent_ack_message_ids when handled. Shared 5000/day budget.

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": {
      "messages": "<messages>"
    },
    "name": "agent_open_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
messagesYes1..50 mailbox-local references, in requested order.

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

A4.5/5.0
Behavior4/5

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

Goes beyond the annotations (readOnly, idempotent, openWorld, non-destructive) by disclosing deduplication in requested order, the per-ID opened/unavailable/error return shape, and a shared 5000/day rate budget. It also flags bodies and thread text as untrusted, which is important given openWorldHint. It does not explain what happens on partial failure or whether unavailable IDs consume budget.

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?

Six short clauses, front-loaded with the [READ] tag and the action, then semantics, boundaries, safety warning, and quota. Nothing is redundant with the schema and no sentence is padding.

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

Completeness5/5

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

No output schema exists, yet the description supplies the return shape (per-ID opened/unavailable/error) and the rate-limit constraint an agent needs before batching requests. For a single-parameter read tool with full annotation coverage, nothing material is missing.

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 documents the 1..50 array and the direction default, so the description mostly restates structured data. The one genuine addition is the ordering/deduplication guarantee on the messages array. Baseline 3 is appropriate with the schema carrying parameter documentation.

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 ("Open") and resource ("mailbox-local references from agent_list_messages") with an explicit batch bound of 1..50. An agent can distinguish this reader from agent_get_messages or agent_list_messages 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?

Names the upstream tool that supplies references (agent_list_messages) and routes the follow-up action to agent_ack_message_ids when messages are handled. It also gives an explicit negative boundary ("Does not acknowledge or follow links"), so when-not-to-use is covered, not just when.

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.