Skip to main content
Glama

droid_list_sessions

Lists bridged sessions and locally saved Droid main sessions with model and run status, optionally filtered by directory, title, or query, without modifying native files.

Instructions

列出桥接会话及本机保存的 Droid 主会话,含模型和运行状态。读取原生文件只用于发现,不修改它们。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "droid_list_sessions"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNo按目录筛选。
limitNo最多条数。
queryNo按标题或目录搜索。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

B3.2/5.0
Behavior3/5

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

Because no annotations are supplied, the description carries the full behavioral burden. To its credit, it explicitly declares the read-only contract: native files are read for discovery only and are not modified, which is the most important safety fact here. It says nothing about whether listing spawns or requires a running Droid, pagination behavior, or cost, leaving real gaps for an unannotated tool.

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 compact sentences front-load the action and scope, then add the read-only caveat. There is no redundant filler, though the second sentence could be slightly tighter.

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

Completeness3/5

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

With three optional parameters, no annotations, and no output schema, the description does reasonably well by naming the returned fields and the read-only behavior. However, it omits the relationship to sibling listing tools and any guidance on result volume or filtering, which would help an agent choose and invoke it confidently.

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?

All three parameters (cwd, limit, query) are fully described in the input schema, so the schema already handles parameter meaning. The description adds nothing about filtering semantics, how query matches titles versus directories, or how limit interacts with pagination, so baseline 3 applies.

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 gives a specific verb (列出/list) plus two distinct resources: bridged sessions and native-saved Droid main sessions. It also states the returned fields (model and running status), so the agent knows what it gets back. It stops short of naming which sibling to use instead, so it does not fully disambiguate from droid_list_models, droid_list_workspaces, or droid_read_session.

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

Usage Guidelines2/5

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

The phrase '读取原生文件只用于发现' hints that the tool is meant for discovery, but there is no explicit statement of when to use this tool versus alternatives such as droid_read_session or droid_status. No exclusions, prerequisites, or preferred-call ordering are given.

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