Skip to main content
Glama

droid_read_session

Reads recent visible messages for an explicit session ID so you can inspect context and track delegated task progress.

Instructions

读取指定会话的近期可见消息。使用明确 session_id,不要用“最近会话”关联并发任务。

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": {
      "session_id": "<session_id>"
    },
    "name": "droid_read_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
lastNo近期消息数。
session_idYes会话 ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose two useful traits beyond the name: messages are filtered to what is 'visible' (implying permission-based filtering) and only recent ones are returned (a bounded window). It does not state read-only safety explicitly, what the default window is, ordering, or result size, so a mutation-free read is only inferable from '读取'.

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?

Two short sentences with the purpose front-loaded and the constraint second; nothing is padded. The second sentence is terse to the point of being slightly cryptic about what 'associating concurrent tasks' means.

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 read tool with no output schema, the definition covers what it returns (recent visible messages for a given session) and a key misuse warning. The remaining gap, the default value and ordering behavior of `last`, is modest given the schema is fully documented.

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%, so both parameters are already documented in the schema and the baseline is 3. The description reinforces that session_id must be explicit, which is meaningful, but adds nothing about the `last` parameter's default or semantics 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?

The description states a specific verb+resource: read the recent visible messages of a specified session. That is clearly a session-scoped read, distinguishable from list-style siblings, though no sibling tool is named for contrast.

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?

It gives a calling constraint ('use an explicit session_id, do not use "recent session" to associate concurrent tasks'), which is real usage guidance about avoiding ambiguity in concurrent contexts. However, it never says when to pick this tool over alternatives such as a session-listing or task-status sibling, so the routing guidance is only implied.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.