Skip to main content
Glama

render_status

Read-onlyIdempotent

Poll a background deck render by slug to check progress and completion; returns status, exit code, MP4 presence and size, and recent log lines. Call it before Media QA.

Instructions

Poll a background render started by render_deck, identified by slug. Returns status (not_started, running or finished), exit_code (null while running), mp4_exists, mp4_bytes and tail (the last 12 non-empty log lines). Read-only; safe to call repeatedly. Call it between render_deck and run_media_qa. A slug with no started render returns not_started.

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": {
      "slug": "<slug>"
    },
    "name": "render_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesDeck slug previously passed to render_deck: lowercase letters, digits, hyphens or underscores, e.g. dup-protocol-cosmos

Output Schema

NameRequiredDescriptionDefault
slugYes
tailNo
statusYes
exit_codeNo
mp4_bytesNo
mp4_existsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.5
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "exit_code": {
      +      "type": [
      +        "integer",
      +        "null"
      +      ]
      +    },
      +    "mp4_bytes": {
      +      "type": "integer"
      +    },
      +    "mp4_exists": {
      +      "type": "boolean"
      +    },
      +    "slug": {
      +      "type": "string"
      +    },
      +    "status": {
      +      "enum": [
      +        "not_started",
      +        "running",
      +        "finished"
      +      ],
      +      "type": "string"
      +    },
      +    "tail": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "slug",
      +    "status"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changedv0.1.4
    • changedInput schema / properties / slug / description
      Previous value: -"Deck slug previously passed to render_deck"New value: +"Deck slug previously passed to render_deck: lowercase letters, digits, hyphens or underscores, e.g. dup-protocol-cosmos"
  3. Changed1 schema field changedv0.1.1
    • addedInput schema / properties / slug / description
      Added value: +"Deck slug previously passed to render_deck"
  4. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds real behavioral context beyond that: the three status values, that exit_code is null while running, and the edge case that an unknown slug returns not_started rather than an error. It does not advise on polling cadence or when to give up, which is the one meaningful omission for a poll loop.

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?

Three tight sentences: purpose, return payload, then usage/edge case. The most actionable information (what it returns and where it sits in the pipeline) is front-loaded with no 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 the return-value enumeration is partly redundant, though the status state machine and the null exit_code nuance are still useful. For a polling tool, a note on how long a render typically takes or when to stop polling would complete the picture.

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 coverage is 100% for the single slug parameter, and the schema already documents the format and gives an example. The description reinforces the linkage ("identified by slug... previously passed to render_deck") and notes the not_started fallback for an unknown slug, but adds no format detail beyond the schema. 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 specific verb and resource ("Poll a background render") and immediately names the originating tool (render_deck) plus the identifier (slug). Combined with the explicit state values, an agent can distinguish this from render_deck and run_media_qa without opening any 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?

It gives explicit placement in the workflow: "Call it between render_deck and run_media_qa." It also states the tool is safe to call repeatedly, which is the key usage question for a polling endpoint, removing any ambiguity about whether re-polling is harmful.

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