Skip to main content
Glama

Get the whole drama

get_drama_context
Read-only

The most important read: everything about a drama in one call. Returns settings, the effective production spec, the story bible, characters (with looks), locations, props, every episode outline with status and runtime, open cliffhangers, a lint summary, and, with detail "full", the scripts (scenes with ids, versions, cast, dialogue) of the requested episodes. Use "overview" to orient, "outline" before planning, "full" before editing scripts. episode_from/episode_to pick the episodes whose outline (and, with "full", script) you get; the others are listed briefly. max_chars is the size budget (scripts: 30,000 by default; outline: all the outlines unless you give it). If truncated, call again with episode_from = continue_from_episode. In a long drama read only the episodes you work on, or one episode with get_episode. open_threads lists cliffhangers the next episode has not yet paid off (no next episode, no connect_back, or no script); the text is in the episode when its outline is included.

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": {
      "drama_id": "<drama_id>"
    },
    "name": "get_drama_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
detailNo"overview" for orientation, "outline" (default) for the episode outlines, "full" for the scripts too.outline
drama_idYesThe drama id (drm_…), from list_dramas or create_drama.
max_charsNoSize budget for the response in characters: pages through the scripts (full, 30,000 by default) or the outlines (outline)
episode_toNoLast episode number to include. Omit to go to the last episode.
episode_fromNoFirst episode number to include (1-based). Omit to start at episode 1.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly, non-destructive, closed-world behavior, and the description adds substantial context beyond that: the max_chars budget defaults, what happens when output is truncated, how to resume via continue_from_episode, how episode_from/episode_to limit which outlines or scripts are expanded while others are listed briefly, and the precise meaning of open_threads.

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?

The description is dense but front-loaded with the core purpose and then organized by mode, episode selection, size budget, and cliffhanger semantics. It is longer than most, and a few clauses are run-on, but nearly every sentence carries operational guidance that is not redundant with 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 five-parameter read tool with an output schema, the description covers the essential decision points: what the tool returns, which detail mode to choose, how episode ranges scope the read, how to handle truncation, and when to use get_episode instead. No critical behavioral detail appears to be missing.

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 schema already documents all five parameters. The description still adds meaning beyond it, notably that episode_from/episode_to select which episodes get full outlines or scripts while the others are listed briefly, and that outline mode returns all outlines unless max_chars is supplied. These are useful clarifications rather than mere restatements.

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: 'everything about a drama in one call,' then enumerates exactly what is returned (settings, production spec, story bible, characters, locations, props, episode outlines, cliffhangers, lint summary, scripts). It also distinguishes the three detail modes and explicitly points to get_episode for single-episode reads, so the agent can tell it apart from siblings.

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 when-to-use guidance for each mode: 'overview' to orient, 'outline' before planning, 'full' before editing scripts. It adds a scoping rule for long dramas (read only the episodes you work on, or one episode with get_episode) and a recovery rule for truncation (call again with episode_from = continue_from_episode).

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.