Skip to main content
Glama
Mnehmos
by Mnehmos

generate_pr_json

Format new or modified spells and monsters into PR-ready JSON for open5e-api submissions, with document slug and add/modify operation.

Instructions

Generate PR-ready JSON output for a new or modified entry, suitable for submitting to open5e-api.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesResource data to format for PR
operationYesWhether adding new or modifying existing
document_slugYesTarget source book (e.g., "srd-2014", "tob")
resource_typeYesType of resource

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it does not state whether this tool writes to disk, calls an API, requires authentication, or mutates state. It only says the output is 'suitable for submitting to open5e-api,' leaving execution side effects ambiguous. For a generation tool with nested object input, this is a notable gap.

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 a single efficient sentence with no wasted clauses, and it front-loads the action and output type. It is appropriately sized for the tool's scope. No structural issues.

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 no output schema, no annotations, and a nested 'data' object, the description should explain the return value or side effects but does not. It also omits the workflow context (validation, slug checks) that would make the tool usable in a multi-step PR pipeline. It is too thin for the tool's complexity.

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 the input schema already documents all four parameters including enums for operation and resource_type. The description adds no parameter-level meaning beyond that baseline. A 3 is appropriate when the schema fully carries parameter semantics.

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

Purpose3/5

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

The description states a specific verb ('generate') and resource ('PR-ready JSON output') tied to open5e-api, which is clearer than a bare name restatement. However, it doesn't differentiate from siblings like validate_entry, normalize, or diff, which likely also operate on entries for the same API. The purpose is understandable but not sharply distinguished from neighboring tools.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance. The description doesn't mention alternatives such as validate_entry or normalize, nor does it explain the workflow position (e.g., run after validation, before submitting a PR). An agent has no direct signal for choosing this tool over siblings.

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