Skip to main content
Glama

Scripts

get_scripts
Read-only

Read the scripts write_scripts writes, by the id it answered: status queued, in_progress, ready or failed. While it is queued or in_progress, call it again about once a minute; ready and failed are final. Ready answers each script by its number, with its shots and lines, the language its lines are in and what it left out of the description; failed answers why. quote_video and make_video take this id as script_id and a script's number as script. Free.

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": {
      "id": "<id>"
    },
    "name": "get_scripts"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe id write_scripts answered.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, closed-world, non-destructive), yet the description adds more: the full status lifecycle, polling cadence, terminal states, and the fact that the call is free. It further sketches what a ready response contains (each script by number, shots, lines, language, omissions) versus what a failed one contains.

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?

Purpose is front-loaded and nearly every clause carries new information (statuses, cadence, response contents, downstream use, cost). It is written as one long chained sentence, which makes the polling instruction slightly harder to scan than a short bulleted structure would.

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?

With no output schema, the description still explains the shape of both success and failure responses and the terminal-state semantics. Nothing an agent needs in order to poll correctly and hand the result to quote_video or make_video 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?

Only one parameter exists and schema coverage is 100%, with the schema already describing it as 'The id write_scripts answered'. The description restates the same provenance without adding format, length, or validity details, so the schema does the work.

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 opening clause names a specific verb (Read) and resource (the scripts write_scripts writes), plus the key it is keyed by. It also enumerates the status values the read can report, which lets an agent distinguish this polling tool from sibling creation tools like write_scripts or make_video.

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?

Explicitly states the call-again cadence ('about once a minute') while queued or in_progress, and declares ready/failed terminal, so the agent knows both when to re-invoke and when to stop. It also names the downstream tools (quote_video, make_video) that consume the returned id and script number, routing the agent correctly.

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.