Skip to main content
Glama

spell_facts

Retrieve SRD 5.2.1 spell details: casting time, range, components, duration, and concentration. Optionally compute expiration from a cast time.

Instructions

Machine-readable facts for a registered SRD 5.2.1 spell: casting_time, range, components, duration, concentration (bool). Optional caller blank cast_at (a number on the CALLER'S clock) adds expires_at = cast_at + duration as pure arithmetic; non-fixed durations return expires_at null. srdcheck holds no state and no clock. Unknown spell name -> exit 2.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesregistered spell name
cast_atNocaller clock value at cast time (any unit-consistent number, e.g. epoch seconds)
request_idNo
table_policyNo
asserted_factsNo
policy_contextNo
table_decisionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
whyYes
dataNo
factsYes
adapterYes
verdictYes
rule_idsYes
citationsYes
exit_codeYes
assumptionsYes
explanationYes
rule_resultYes
checked_scopeYes
coverage_levelYes
state_mutationYes
table_decisionYes
unchecked_scopeYes
Behavior5/5

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

With no annotations, the description discloses key behavioral traits: statelessness, no internal clock, arithmetic for expires_at, null for non-fixed durations, and exit code for unknown spells. This goes beyond a simple 'returns facts' and is crucial for correct invocation.

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?

The description is compact and front-loaded, with the core purpose in the first sentence. It is dense but not bloated; all sentences contribute to understanding key behaviors.

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?

While it covers the core function and important edge cases, the many optional parameters are unaddressed. Given the schema's complexity, the description should at least hint at when to provide policy/context fields.

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 coverage is only 29%, and the description only explains `name` and `cast_at`. The other five parameters (request_id, table_policy, etc.) are left undefined in both schema and description, leaving the agent without guidance on their purpose or use.

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 clearly identifies the tool as providing machine-readable spell facts for a registered SRD 5.2.1 spell, listing the specific fields returned. It lacks an explicit active verb (e.g., 'get') but is unambiguous and distinct from the listed sibling tools, which address other game mechanics.

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

Usage Guidelines4/5

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

It provides clear context: use for SRD 5.2.1 spell facts, optional cast_at behavior, and error exit. It does not explicitly discuss alternatives, but no direct sibling competes, so the context suffices.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chaoz23/srdcheck'

If you have feedback or need assistance with the MCP directory API, please join our Discord server