Skip to main content
Glama

Rubii Story Worldbuilder & Roleplay MCP

Compare Long-Story Context & Memo Memory Budget

compare_story_memory_budget
Read-onlyIdempotent

Estimate multi-turn interactive fiction context consumption across 8K, 16K, 24K, and 32K windows by breaking down permanent character sheets, constant/triggered Lorebook entries, editable Story Memo notes, and projected turn history.

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

Input Schema

NameRequiredDescriptionDefault
memoTextNoEditable Story Memo / chapter summary text.
scenarioNoScenario or world setup text.
descriptionNoCharacter description text.
personalityNoCharacter personality traits text.
firstMessageNoOpening scene message.
historyTurnsNoProjected number of conversation turns (default: 24).
systemPromptNoCustom system prompt instructions.
contextWindowsNoTarget context window sizes in tokens (default: [8192, 16384, 24576, 32768]).
lorebookEntriesNoLorebook / Worldbook entries with constant or triggered active state.
avgTokensPerTurnNoAverage tokens per turn (default: 240).
reservedOutputTokensNoTokens reserved for model output (default: 600).
postHistoryInstructionsNoPost-history instructions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare this as readOnly, idempotent, non-destructive, and closed-world, so an agent knows it is a pure computation. The description reinforces that with 'Estimate' and explains the cost categories it models, but it says nothing about what the returned estimate looks like, whether it reports overflow/warnings, or how the fixed defaults interact with omitted parameters.

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?

One dense sentence that front-loads the verb and the window scope before listing the cost categories. Nothing is redundant, though the sentence is long and could be split for scannability.

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?

For a twelve-parameter estimation tool with no output schema, the description covers what goes in at a high level but never characterizes what comes back (per-window totals? percentage used? overflow flags?). That missing return-shape information is the main completeness gap; the annotations handle the safety profile.

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 every one of the twelve parameters is already documented, which sets the baseline at 3. The description adds a useful conceptual grouping (permanent character sheets vs. constant/triggered lorebook entries vs. editable Story Memo vs. projected turn history) that helps an agent understand how inputs feed the model, but it adds no syntax, unit, or sizing detail beyond the schema.

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?

A specific verb ('Estimate') plus a precise resource ('multi-turn interactive fiction context consumption') and an explicit scope of four named context window sizes. It also enumerates the cost categories being broken down. It doesn't name a sibling tool to contrast against, but the purpose is distinct enough from 'audit_character_card' or 'craft_story_world' to be unambiguous.

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 is implied rather than stated: an agent can infer this is the tool for checking whether a character card, lorebook, and memo will fit in a given context window. There is no explicit when-to-use/when-not, no mention of alternatives, and no prerequisites or preconditions are given.

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.