Skip to main content
Glama

yoto_story_from_card

Read-only

Reconstruct a Yoto card's events into a chapter-per-node story graph, enabling edits and recompilation.

Instructions

Turn a card's events back into a story graph (one node per chapter) for editing and recompiling.

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": {
      "card": "<card>"
    },
    "name": "yoto_story_from_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
cardYes
accountNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered. The description adds that output is a graph with one node per chapter, which is useful structural context, but it says nothing about what source data is read, whether the card must exist locally or remotely (relevant given openWorldHint), or how the account parameter scopes access.

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?

A single front-loaded sentence with no filler; the purpose arrives immediately. It is arguably too sparse rather than padded, but nothing in it is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values needn't be described, and read-only semantics are covered by annotations. However, for a transformation tool with two undocumented parameters and an unexplained "events" concept, the definition leaves real gaps an agent would need to resolve before calling it confidently.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden, yet it only vaguely gestures at "a card's" and never explains the expected identifier format (ID, URL, or name). The optional account parameter is completely unaddressed, leaving the agent to guess what it does given the existence of yoto_account_link.

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?

States a specific verb and resource: turning a card's events into a story graph with one node per chapter, which implies the inverse of yoto_story_compile. It is clear what the tool produces, though terms like "events" and "story graph" are left as jargon without a hint of their shape.

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 phrase "for editing and recompiling" implies the workflow context (use before editing/recompiling), but there is no explicit when-to-use vs. when-not, and no named alternative such as yoto_story_compile or yoto_card_get. The agent must infer the entry point in the pipeline.

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