Skip to main content
Glama

Take Play Turn

take_turn
Read-onlyIdempotent

Resolve player intent into a read-only, session-scoped turn handle for story recording without mutating campaign state.

Instructions

Resolve a player intent through the parser and mint a turn handle for the story record. The turn is read-only and non-persistent: no Novel state is mutated; the handle is session-scoped, single-use, and consumed by manage_story (action: record), though recording without it still works. Use when: taking a turn before recording its outcome. Do NOT use when: resolving a specific combat round — use manage_combat (action: advance); rolling a ruleset check — use resolve_mechanic (action: roll).

Input Schema

NameRequiredDescriptionDefault
intentYesPlayer intent to resolve (take_turn).
entity_idNoActing entity id (take_turn).

Output Schema

NameRequiredDescriptionDefault
textNoHuman-readable text envelope mirroring the structured result (REQ-001, REQ-548a).
statusYesMachine-readable result status: OK, NEED_INPUT, WARNING, PARTIAL, or an error category (REQ-002, REQ-548c).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Adds real value beyond the annotations: non-persistent, no Novel state mutated, handle is session-scoped and single-use, consumed by manage_story (action: record), and recording works even without it. Slight tension with idempotentHint=true, since each call mints a fresh single-use handle; the description does not reconcile repeated-call behavior, which keeps it from a 5.

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?

Front-loaded with the core action, then lifecycle, then use/don't-use routing — every clause carries distinct information. Slightly dense, with the handle-consumption detail packed mid-sentence, but no filler.

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 2-parameter tool with full schema coverage, an output schema, and complete annotations, the description supplies the missing pieces: persistence semantics, handle lifecycle, the downstream consumer, and graceful degradation if the handle is skipped. Nothing an agent needs to call it correctly is absent.

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 'intent' and 'entity_id' are already documented; the description only adds the notion that intent is fed to the parser. Baseline 3 applies since the schema carries the parameter burden.

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 chain and resource: resolve a player intent through the parser and mint a turn handle for the story record. It also explicitly distinguishes itself from manage_combat and resolve_mechanic, so an agent can route between them 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?

Gives an explicit 'Use when: taking a turn before recording its outcome' plus two named 'Do NOT use when' cases with the exact alternative tool and action (manage_combat advance, resolve_mechanic roll). This is the strongest form of routing guidance.

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