Skip to main content
Glama

List Human Sessions

list_human_sessions
Read-onlyIdempotent

List human sessions with exact refs and completion status. Use IDs from list_test_blocks to target a block/run; omission uses the documented defaults. Legacy tests also supported.

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": {
      "testId": "<testId>"
    },
    "name": "list_human_sessions"
  }
}

Input Schema

NameRequiredDescriptionDefault
runIdNo
testIdYes
blockIdNoSelect one block from list_test_blocks. Omit to infer a sole relevant block; list_insights defaults to all AI blocks. Omit for legacy tests.

Output Schema

NameRequiredDescriptionDefault
dataNo
retryNo
runIdNo
scopeNo
totalNo
statusNo
testIdNo
blockIdNo
messageNo
nextStepNo
sessionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed19 schema fields changed
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / data / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / data / properties / sessions / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / data / properties / sessions / items / properties / answerCount / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / data / properties / sessions / items / properties / answerCount / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / data / properties / sessions / items / properties / transcriptChars / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / data / properties / sessions / items / properties / transcriptChars / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / data / properties / total / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / data / properties / total / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / nextStep / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / nextStep / properties / arguments / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / retry / properties / arguments / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / properties / sessions / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / sessions / items / properties / answerCount / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / sessions / items / properties / answerCount / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / sessions / items / properties / transcriptChars / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / sessions / items / properties / transcriptChars / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / total / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / total / minimum
      Added value: +-9007199254740991
  2. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so the safety profile is covered. The description adds that output includes refs and completion status and that legacy tests are supported, but says nothing about pagination, limits, or ordering, and the return shape is left to the output schema.

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?

Three short sentences, front-loaded with purpose and results before the ID-sourcing rule. Minor waste in the hand-wavy phrase "the documented defaults", which pushes work onto the reader.

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?

An output schema exists, so return values need not be described, and the annotation set covers safety. Still, for a three-parameter tool whose IDs come from another tool, the description leaves the test/run/block relationship and the default-selection rules implicit rather than resolved.

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 only 33%: blockId is well documented in-schema, while testId and runId carry only patterns. The description points at list_test_blocks as the ID source and mentions omission behavior, but does not explain what omitting runId implies or what the "documented defaults" actually are, so it only partially compensates.

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?

States a specific verb and resource ("List human sessions") plus what the results carry ("exact refs and completion status"), which separates it from the singular get_human_session. It also flags that legacy tests are covered, a useful scope note, but it never names the retrieval sibling it supersedes for a single session.

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?

Gives one concrete sourcing rule ("Use IDs from list_test_blocks to target a block/run") and states that omission falls back to defaults, which is real when-to-use guidance. It stops short of saying when to prefer this list over get_human_session or get_human_navigation_summary, and never spells out the defaults it refers to.

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