Skip to main content
Glama

Run QA on Results

queue_generation_result_qa
Destructive

Default tool for generation-result QA. Use this whenever the user asks to QA, quality check, validate, review, inspect for defects, approve/reject, or assess already-created generation results. Do not substitute view_image for QA unless the user explicitly asks for a manual visual critique instead of the official Uwear QA pipeline. First identify the numeric generation_result_ids, then call this tool, then call read_generation_result_qa for the same IDs. QA is free. QA is built for scale — validating large batches (hundreds or thousands of results). When the user is iterating on a handful of results one by one, do not queue QA on your own initiative; run it when the user asks for it or when operating at batch scale.

Input Schema

NameRequiredDescriptionDefault
max_qa_retriesNoMaximum QA-triggered retry generations to allow. Retry generations can cost additional generation credits.
generation_result_idsYesGeneration result IDs to QA. QA is free.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / generation_result_ids / description
      Previous value: -"Generation result IDs to QA. Queued or requeued QA costs 1 credit per result."New value: +"Generation result IDs to QA. QA is free."
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Adds substantial context beyond the annotations: that QA is free, that it is designed for batches of hundreds/thousands, and that results must be read back via read_generation_result_qa. It does not explain the mutation side flagged by destructiveHint=true / idempotentHint=false — namely that QA-triggered retries consume generation credits and can replace results (only the schema's max_qa_retries note hints at this). Not a contradiction, but the costly/destructive lever goes undisclosed in the description.

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 default-tool claim and the usage rule, and every sentence is operational. It is on the long side for two parameters, and the 'QA is free' point is restated in both the description and the schema.

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 no-output-schema enqueue tool, the description supplies the full loop: identify IDs, queue, then call read_generation_result_qa for results — which compensates for the missing output schema. Cost and batching expectations are set, leaving no ambiguity about how to sequence the call.

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

Parameters4/5

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

Schema coverage is 100%, so the two parameters are already documented, and the description reinforces that generation_result_ids are numeric and must be reused for the read-back call. It adds little on max_qa_retries beyond what the schema says (retries cost credits), so this sits just above baseline.

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 ('queue generation-result QA') and explicitly declares itself the default for that task. It also carves out the nearest alternative ('Do not substitute view_image ... unless the user explicitly asks for a manual visual critique'), so an agent can discriminate without opening the 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 explicit triggers (QA, quality check, validate, review, approve/reject), an explicit exclusion (manual visual critique via view_image), an explicit negative rule ('do not queue QA on your own initiative' when iterating one-by-one), and the exact call sequence. Alternatives and when-not-to-use are both named.

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