Skip to main content
Glama

Get Human Session

get_human_session
Read-onlyIdempotent

Read a human session, task and transcript by exact ref. 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>",
      "ref": "<ref>"
    },
    "name": "get_human_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYes
limitNo
runIdNo
offsetNo
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
refNo
dataNo
taskNo
retryNo
runIdNo
scopeNo
statusNo
testIdNo
blockIdNo
messageNo
nextStepNo
truncatedNo
finishedAtNo
nextOffsetNo
transcriptNo
totalLengthNo
questionAnswersNo
transcriptSourceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed16 schema fields changed
    • addedInput schema / properties / offset / maximum
      Added value: +9007199254740991
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / data / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / data / properties / nextOffset / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / data / properties / nextOffset / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / data / properties / questionAnswers / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / data / properties / totalLength / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / data / properties / totalLength / minimum
      Added value: +-9007199254740991
    • addedOutput schema / properties / nextOffset / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / nextOffset / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / nextStep / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / nextStep / properties / arguments / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / properties / questionAnswers / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / retry / properties / arguments / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / totalLength / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / totalLength / minimum
      Added value: +-9007199254740991
  2. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so the safety profile is covered. The description adds that a transcript and task are returned and that legacy tests work, but "omission uses the documented defaults" gives no actual behavior for what happens when blockId/runId are absent in non-legacy cases.

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 sentences, front-loaded with the core action, no filler. The phrase "documented defaults" is a small waste because it points at documentation the agent may not have.

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 no explanation, and the read-only annotations reduce the behavioral burden. Still, for a 6-parameter tool with 17% schema coverage, the description should clarify pagination and the ref concept; those gaps matter for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 17%, so the description must compensate and largely does not. It gestures at ref, blockId/runId targeting and default behavior, but leaves ref's structure, testId format, and especially limit/offset pagination undocumented in both schema and prose.

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?

"Read a human session, task and transcript by exact ref" gives a specific verb and resource, and "by exact ref" implicitly contrasts with the listing siblings like list_human_sessions. It stops short of naming any alternative explicitly, so an agent must infer the boundary itself.

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 points to list_test_blocks as the source of block/run IDs, which is genuinely useful routing guidance, and notes that legacy tests are supported. However, it never says when to pick this over get_transcript, get_human_navigation_summary, or list_human_sessions, and the omission behavior is deferred to "the documented defaults" rather than stated.

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