Skip to main content
Glama

SurveysAI Qualitative Analysis – interview and focus group analysis

Get analysis status

qualitative_get_run
Read-onlyIdempotent

Returns the current state of one analysis: status, package (price, refunds, last error, retry_available, refund_on_cancel), steps, progress, ready deliverables, web_url, action_required and next_poll_after_seconds. Requires sign-in (OAuth connector or API key) with the runs:read scope. Analyses run in the background: poll this tool no sooner than next_poll_after_seconds, until it is null. Null means the analysis reached a final state, or action_required is retry_or_cancel (failed work waiting for qualitative_retry_analysis or qualitative_cancel_analysis), or continue_in_web_app (waiting for the user in the web app, e.g. stale steps after inputs changed or a decision). Stop polling for continue_in_web_app, tell the user to continue in the web app and give them the run link in web_url. Do not keep polling when null. Read-only: it never starts or changes work. deliverables_ready lists the downloads that are ready; the first entry of type main_report is the main report every analysis includes (it appears as soon as the report step is done, also when no extra report was bought). Fetch it with qualitative_get_deliverable; qualitative_list_deliverables lists all outputs.

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": {
      "run_id": "<run_id>"
    },
    "name": "qualitative_get_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_idYesThe analysis id (`run_id`) from qualitative_list_runs or qualitative_start_analysis.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover readOnly/idempotent/non-destructive, but the description adds real context beyond them: authentication requirements (OAuth connector or API key with runs:read scope), background-execution semantics, the meaning of a null next_poll_after_seconds, and the three distinct terminal situations including the continue_in_web_app handoff.

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?

Front-loaded with the return shape, then polling rules, then deliverable follow-up — a logical order with no filler sentences. The opening sentence is a very long field enumeration, which slightly hurts scannability, but nearly every clause carries operational meaning.

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

Completeness5/5

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

No output schema exists, so the description carries the full burden of explaining return values, and it does so field-by-field, plus documents auth, polling cadence, and terminal-state branching. Nothing an agent needs to call this correctly and interpret the response is missing.

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?

There is only one parameter and schema coverage is 100%, with the schema itself explaining that run_id comes from qualitative_list_runs or qualitative_start_analysis. The description reinforces the single-analysis scope but adds no format or validation detail beyond the schema, 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?

States a specific verb and resource ('Returns the current state of one analysis') and immediately enumerates what state means (status, package, steps, progress, deliverables, web_url, action_required, next_poll_after_seconds), which clearly separates it from siblings like qualitative_list_runs or qualitative_get_deliverable.

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?

Gives explicit polling instructions ('poll no sooner than next_poll_after_seconds, until it is null'), defines the stop conditions for null, and routes to named alternatives in each branch (qualitative_retry_analysis, qualitative_cancel_analysis, qualitative_get_deliverable, qualitative_list_deliverables). It even says what not to do ('Do not keep polling when null').

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