Skip to main content
Glama

Get generation jobs

get_jobs
Read-only

Status of generation jobs: by ids, or the latest of a drama (optionally by status). A finished job names its take; failed ones say why (credits were refunded).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_jobs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of results to return.
statusNoOnly jobs in these states (queued, running, succeeded, failed, canceled).
job_idsNoJob ids (job_…) returned when the jobs were started.
drama_idNoThe drama id (drm_…), from list_dramas or create_drama.

Output Schema

NameRequiredDescriptionDefault
jobsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), so the description adds genuine behavioral context: finished jobs expose the resulting take, failures include a reason, and credits are refunded on failure. That refund note is information an agent cannot get from annotations. It stops short of describing ordering or whether both filters can be combined.

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?

Two compact sentences with the primary modes front-loaded and outcome semantics appended. No filler, no restatement of the title, and the parentheticals carry real information.

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?

With an output schema present, the description need not explain return shapes, and it correctly focuses on modes and failure/refund semantics. Slight gaps remain around the no-parameter case (0 required params) and result ordering, which matter for a polling-style read tool.

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 baseline is 3, but the description adds relational meaning the schema does not: drama_id returns only the latest job rather than all jobs for that drama, and status is an optional narrowing on that mode. It does not clarify how limit interacts with the drama mode or precedence when both job_ids and drama_id are given.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb+resource ('Status of generation jobs') and enumerates two lookup modes: by ids, or the latest job for a drama with an optional status filter. This is enough to distinguish it from most siblings, though it never names wait_for_jobs, which is the closest alternative (poll vs. block).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The two query modes ('by ids, or the latest of a drama') imply when each parameter set applies, which is more than nothing. However, there is no explicit routing guidance against wait_for_jobs for blocking cases, and no statement about what happens when neither job_ids nor drama_id is supplied despite zero required parameters.

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.