Skip to main content
Glama

Story Time — Bedtime Stories

Surprise Bedtime Story

surprise_story
Read-only

A surprise complete bedtime story — a stable pick for today, optionally within one world and age band, personalised with the child's first name if given.

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": "surprise_story"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoOptional child's first name. Default Emma.
themeNoOptional world/theme to draw the surprise from.
tellingNoDefault night.
age_bandNolittle (2-4), middle (4-6) or big (6-8). Default middle.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false and destructiveHint=false, so the safety profile is covered by structured fields. The description's genuinely additive claim is "a stable pick for today", i.e. the result is deterministic per day, which is useful behavior an agent cannot derive from annotations. It says nothing further about output length, content, or bounds on personalization.

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 sentence, front-loaded with the purpose and followed by the scoping/personalization clause, with no redundant restatement of the title. The em-dash phrasing is slightly dense but every clause carries 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 four all-optional parameters, no required inputs, full schema coverage and no output schema, the description supplies what an agent needs: the output is a full story, the pick is stable for the day, and the optional filters. The main omission is the lack of explicit sibling routing.

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 description coverage is 100%, so the schema already documents all four optional parameters and their defaults, setting a baseline of 3. The description adds a modest gloss by tying theme to "one world" and age band to a scoping filter, plus flagging that personalization only applies "if 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 concrete resource — a complete bedtime story — and the qualifier "surprise" frames it as a generated/random pick rather than a lookup, which implicitly separates it from the get_story sibling. It stops short of naming an alternative or stating the contrast explicitly, so an agent must infer the routing.

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?

Usage context is only implied: "a stable pick for today" suggests this is the tool for a no-specific-request story, and the optional scoping hints at narrowing when the caller has a world or age band. There is no explicit when-to-use/when-not or reference to get_story or list_themes.

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.

Resources