Skip to main content
Glama
holycube

game-narrative-mcp

by holycube

Register Flag

register_flag

Declares a narrative flag with a scope (run, meta, campaign, global, slot) to track state and ensure consistency across playthroughs.

Instructions

声明式 flag 及 scope

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
scopeYes
defaultNo
project_idNo
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

D1.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it largely fails: only the word 'declarative' hints at declaration/idempotent semantics. It says nothing about scope precedence, overwrite behavior on duplicate ids, required permissions, or what happens on conflict.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short, but this is under-specification rather than earned conciseness; there is no front-loaded statement of operation, effect, or constraint. The single fragment does not function as a usable description.

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

Completeness1/5

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

For a 5-parameter, non-trivial registration tool with no annotations and no output schema, the description supplies essentially nothing. Critical unknowns such as the scope hierarchy and duplicate-id behavior are left completely undocumented.

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

Parameters1/5

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

Schema description coverage is 0% with 5 parameters, and the text adds no meaning for any of them. It names 'flag' and 'scope' vaguely but never explains id format, the meaning of run/meta/campaign/global/slot, the role of 'default', or project_id, so the enum-heavy scope parameter is left entirely unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description '声明式 flag 及 scope' ('declarative flag and scope') is close to a restatement of the tool name and only gestures at the resource. It never states a verb like 'register/declare' explicitly nor distinguishes this from the many other register_* siblings (register_event, register_entity, register_thread, etc.).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no prerequisites, and no mention of alternatives among the ~60 sibling tools. An agent cannot infer from the text when this flag registration should be preferred over register_constraint or register_content_rules.

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