Skip to main content
Glama

Condition

condition

Manage mechanical and narrative statuses on entities. Apply, remove, or list them, keeping TTRPG state clear without combat damage.

Instructions

Manage mechanical or narrative conditions on entities. Use when: applying, removing, or listing conditions. Do NOT use when: recording damage or combat state — use combat (action: init/advance).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesapply, remove, or list.
roundsNoOptional duration in rounds (apply).
conditionNoThe condition name (apply/remove).
entity_idNoThe entity to affect (apply/remove).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, so mutation is implied. The description adds the context of 'mechanical or narrative conditions' but does not specify side effects (e.g., whether removal clears all instances or just one). Still, it sufficiently conveys the tool's mutating nature without contradiction.

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?

Two sentences efficiently convey purpose and usage boundaries. The structure is clear and front-loaded with the core action. Slight redundancy in the 'Use when' list could be trimmed, but overall it is concise and scannable.

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?

Given the simplicity of the tool (no output schema, flat parameters), the description covers the essential context: what it does and when to use it. It lacks only a mention of return values or error handling, but these are not critical for such a straightforward tool.

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 covers 100% of parameters with brief descriptions. The tool description does not add extra meaning beyond these, so it meets the baseline but provides no additional semantic depth (e.g., what 'rounds' means in context or how 'entity_id' references entities).

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?

Clearly states the tool manages conditions, lists specific actions (apply, remove, list), and distinguishes from the combat tool. The verb 'manage' is specific to this resource, and the contrast with combat prevents confusion.

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?

Explicitly provides both positive usage ('when applying, removing, or listing conditions') and negative usage ('Do NOT use when recording damage or combat state'), naming the alternative tool (combat). No ambiguity about when to invoke this tool.

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