Skip to main content
Glama

Run quality check

run_quality_check
Destructive

Evaluate content or media against your ICP persona using xAI grok-4.7 vision. Actually SEES image pixels (video artifacts are skipped — stills only). Returns quality scores (1-10) across 6 dimensions + specific ICP feedback. Use after generating media or drafting content to validate quality before delivering to the user.

Routing: After generating media or drafting content, call this before posting/delivering — chain: generate → quality_check → post.

[sensitive-tier — first use may require a manager's approval; a from-now-on approval makes future calls seamless, a just-once approval re-asks next time. Call it on the first clear ask; the card is the yes — do not re-ask in chat.]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskNoWhat this deliverable is for (e.g. "X post about FreedomOS launch"). Gives the ICP evaluator context.
contentNoText content to evaluate (X post copy, email draft, newsletter). Can be combined with artifact_id for text + visual evaluation.
companyIdYesFreedomOS company id to act within (you must be a member). Required for company-scoped tools.
artifact_idNoID of a specific artifact to evaluate (from generate_image_xai or generate_video result). If omitted, auto-finds the most recent media artifact generated in the last 10 minutes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / artifact_id / description
      Previous value: -"ID of a specific artifact to evaluate (from generate_image or generate_video result). If omitted, auto-finds the most recent media artifact."New value: +"ID of a specific artifact to evaluate (from generate_image_xai or generate_video result). If omitted, auto-finds the most recent media artifact generated in the last 10 minutes."
    • changedInput schema / properties / task / description
      Previous value: -"What this deliverable is for (e.g. \"X post about Freedom OS launch\"). Gives the ICP evaluator context."New value: +"What this deliverable is for (e.g. \"X post about FreedomOS launch\"). Gives the ICP evaluator context."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=false, destructiveHint=true), and the description adds substantial extra behavioral context: the vision model's pixel-level capability, the stills-only video limitation, the return shape, and the sensitive-tier approval workflow (from-now-on vs just-once, 'card is the yes — do not re-ask in chat'). Deducted one point because destructiveHint=true side effects are never explained 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?

Three clearly delineated blocks (purpose/method, routing chain, sensitive-tier approval), front-loaded with the core function. Dense but every section earns its place, especially the approval note which governs real agent behavior. Slightly long relative to the tool's simplicity, but the added behavioral content justifies the length.

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?

Since there is no output schema, the description correctly covers return values (1-10 scores, 6 dimensions, ICP feedback) and the trigger chain. It also addresses the approval edge case that could otherwise stall an agent. The main gap is the unexplained destructiveHint=true, which leaves an agent uncertain whether calling this tool consumes or mutates artifacts.

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%, so the baseline is 3 and the schema carries the semantic weight. The description adds minor param-level value (the 'stills only' note informs artifact_id usage; 'content or media' maps content/artifact_id) but doesn't materially extend parameter understanding beyond the schema.

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+resource ('Evaluate content or media against your ICP persona') with method detail (xAI grok-4.7 vision, 'Actually SEES image pixels') and a concrete output contract (1-10 scores across 6 dimensions + ICP feedback). The role is clearly distinct from the generate_* and audit_* siblings in the tool list; an agent can identify it as a post-generation validation step 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 Guidelines4/5

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

Provides explicit when-to-use context: call after generating media or drafting content, before posting/delivering, with a named chain (generate → quality_check → post). It also notes a limitation ('video artifacts are skipped — stills only'). It stops short of a 5 because it never names alternatives or states when NOT to use it relative to audit_brand_visibility or vectorize_image.

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