Skip to main content
Glama

List project sessions

list_project_sessions
Read-onlyIdempotent

List recorded agent sessions for the project so another agent can find a prior session and resume its context.

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": {
      "projectId": "<projectId>"
    },
    "name": "list_project_sessions"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectIdYesOwned Brain Scanner project ID from the account's project list; not a local path or repository URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / projectId / description
      Previous value: -"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."New value: +"Owned Brain Scanner project ID from the account's project list; not a local path or repository URL."
  2. Changed1 schema field changed
    • addedInput schema / properties / projectId / description
      Added value: +"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."
  3. 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 read-only, idempotent, non-destructive, closed-world behavior. The description adds that sessions are recorded and can be used to resume context, which is useful beyond the annotations. However, it omits ordering, pagination, limits, and authorization details.

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?

The definition is a single front-loaded sentence that states both what the tool does and why an agent would call it. Every phrase contributes and there is no redundant 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?

For a one-parameter, read-only list tool with full schema coverage and no output schema, the description covers scope and intent adequately. It would be stronger if it mentioned result ordering or pagination or routed to related session tools, but those are minor gaps.

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 projectId thoroughly, including its ownership requirement and pattern constraints. The description only implies project scoping and adds no format or constraint details 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 and resource: listing recorded agent sessions for a project. It also gives the purpose of finding a prior session to resume context. It is clear, but does not differentiate from sibling list tools or mention related session tools.

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?

The phrase 'so another agent can find a prior session and resume its context' gives clear usage context for retrieval. It does not provide explicit when-not-to-use guidance or name alternatives such as open_project_session.

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.

Resources