Skip to main content
Glama
GetABrain🧠 | Live Human-in-the-Loop MCP for AI Agents

GetABrain🧠 | Live Human-in-the-Loop MCP for AI Agents

get_responses

Read-only

Read a query's current status and any human responses submitted so far without waiting, so agents can check progress on demand or take an immediate snapshot.

Instructions

One-shot read: fetch a query's current status and whatever human responses have been submitted so far, without waiting. Use this to check progress on demand, or after wait_for_responses reports "pending" if you want an immediate snapshot instead of polling again. Read-only, no cost, returns instantly (does not block or retry). Disambiguation: unlike wait_for_responses, this never delays or blocks waiting for more answers to arrive -- it just reports what exists right now, which may be fewer than required_responses.

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": {
      "query_id": "<query_id>"
    },
    "name": "get_responses"
  }
}

Input Schema

NameRequiredDescriptionDefault
query_idYesThe id returned by submit_query, identifying which query to read.

Output Schema

NameRequiredDescriptionDefault
noticeNo
statusNo
responsesNo
simulatedNo
required_responsesNo
completed_responsesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.2.4
    • addedOutput schema / properties / notice
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / simulated
      Added value: +{
      +  "type": "boolean"
      +}
  2. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, and the description adds real context beyond that: no cost, instant return, no blocking or retry, and the important caveat that results 'may be fewer than required_responses.' It slightly restates read-only and makes an unverifiable 'no cost' claim, keeping it short of a 5.

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 sentences, front-loaded with the core behavior, with the alternative routing last. The 'Disambiguation:' label is mildly redundant given the earlier 'without waiting' framing, but nothing is filler.

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?

An output schema exists, so return values need no explanation, and the description covers the key semantic risk (partial results when fewer than required_responses exist). It omits what happens with an invalid or expired query_id, a minor gap for a single-parameter read.

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?

With one parameter at 100% schema coverage, the schema already explains that query_id is 'the id returned by submit_query.' The description adds no format, sourcing, or error-handling detail for that parameter, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a precise verb+resource+scope: 'One-shot read: fetch a query's current status and whatever human responses have been submitted so far, without waiting.' It immediately distinguishes the tool from its closest sibling by naming wait_for_responses and contrasting the polling behavior.

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

Usage Guidelines5/5

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

It gives explicit use cases ('check progress on demand, or after wait_for_responses reports "pending"') plus a named alternative and the condition that selects it. The 'Disambiguation' sentence states the exclusion directly: it never delays or blocks waiting for more answers.

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