Skip to main content
Glama

feature_uses

Calculate use counts for divine-sense and lay-on-hands from SRD formulas, using character level and ability modifiers to return numeric verdicts.

Instructions

Use-count formulas the SRD states as arithmetic (closed set: divine-sense = 1 + CHA modifier; lay-on-hands = 5 x paladin level). Formula-blanks discipline: without the blanks the verdict returns the formula only, never a number. Tables are out of scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
featureYes
request_idNo
table_policyNo
paladin_levelNo
asserted_factsNo
policy_contextNo
table_decisionNo
charisma_modifierNo

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
Behavior4/5

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

No annotations are present, so the description carries the full burden. It discloses key behavioral traits: without the numeric 'blanks' (CHA modifier or paladin level), it returns the formula rather than a number; the 'closed set' limits valid features; and tables are explicitly out of scope.

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?

Three sentences, no waste, but 'Formula-blanks discipline' is jargon. Still, the information is dense and front-loaded, with the core scope and special behavior stated early.

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

Completeness2/5

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

Given 8 parameters, a nested policy schema, and no annotations, the description is too lean. It explains the core computation but leaves the policy/table parameters unexplained; 'Tables are out of scope' is a terse exclusion that doesn't clarify whether table_policy/table_decision are ignored or rejected. The presence of an output schema mitigates some, but not enough.

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 coverage is 0%, so the description must compensate. It connects divine-sense to CHA modifier and lay-on-hands to paladin level, explaining two parameters. However, it doesn't clarify the purpose of the remaining six parameters (request_id, table_policy, asserted_facts, policy_context, table_decision), leaving ambiguity.

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 identifies the tool's domain: use-count formulas for divine-sense and lay-on-hands, with arithmetic expressions. Though it lacks an explicit verb like 'calculate', the reference to 'verdict returns' makes the function clear. It distinguishes itself from siblings like attack_modifiers by focusing on class feature uses.

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: use when a feature use-count is needed for the two listed features. It explicitly states 'Tables are out of scope', excluding table-related queries, but doesn't name alternative tools or provide when-not-to-use guidance beyond that.

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