Skip to main content
Glama

SurveysAI Qualitative Analysis – interview and focus group analysis

Retry failed analysis work

qualitative_retry_analysis
Idempotent

Retries the failed work of an analysis at no charge. Use it only when qualitative_get_run shows retry_available true (action_required retry_or_cancel), and after the user agreed. Requires sign-in (OAuth connector or API key) with the runs:write scope, and the key's owner must own the analysis. On an analysis that has not failed it answers a conflict error. It does not re-run a finished analysis: for a new analysis use qualitative_start_analysis. Afterwards poll with qualitative_get_run.

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_retry_analysis"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_idYesThe analysis id (`run_id`) from qualitative_list_runs or qualitative_start_analysis.
idempotency_keyNoOptional key (printable ASCII, at most 255 characters). Pass idempotency_key to make your own retries safe: repeating the call with the same key returns the original result instead of acting again. If omitted, every call gets its own fresh key.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare mutation/idempotency/safety flags; the description goes well beyond them by disclosing billing behavior ('at no charge'), auth requirements (OAuth connector or API key with runs:write scope plus ownership), and the exact failure response ('answers a conflict error' on a non-failed analysis). These are operational facts the agent cannot infer from structured fields.

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?

Six tightly packed sentences with no filler: purpose first, then gating condition, then auth, then error behavior, then exclusion, then follow-up. Every sentence carries distinct information and the most important constraint is front-loaded.

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?

For a two-parameter mutation with no output schema, the description supplies everything needed: prerequisites, permissions, error case, and the recommended follow-up call for retrieving results. Nothing an agent needs in order to invoke it correctly 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?

Schema description coverage is 100%, and both parameters — including the idempotency_key safety semantics — are fully documented in the schema itself. The description adds no parameter-level detail beyond that, which is acceptable given the baseline for fully documented schemas, but it earns no extra credit here.

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 ('retries the failed work of an analysis') and immediately bounds it: not for finished analyses, and not a substitute for qualitative_start_analysis. The agent can distinguish this from every sibling without opening a schema.

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 an explicit precondition ('only when qualitative_get_run shows retry_available true (action_required retry_or_cancel)'), a consent requirement ('after the user agreed'), a named alternative for the non-qualifying case (qualitative_start_analysis), and a post-call step (poll with qualitative_get_run). When-to-use and when-not-to-use are both covered.

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