Skip to main content
Glama

Write Issue

write_issue

Create a structured issue file under docs/agents/issues/ by providing a reporter role code, one-line summary, and detailed Markdown body, with optional severity levels, to streamline agent coordination and issue tracking.

Instructions

File an issue under docs/agents/issues/.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYesDetailed issue body in Markdown.
summaryYesOne-line summary written into the filename and frontmatter.
reporterYesReporter role code (uppercase).
severityNo``critical`` / ``high`` / ``medium`` / ``low``. Aliases: ``P0`` → critical, ``P1`` → high, ``P2`` → medium, ``P3`` → low.medium

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.2.4

TDQS

B3.2/5.0
Behavior2/5

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

There are no annotations, and the description only says an issue is filed in a directory. It does not disclose file creation behavior, naming conventions, overwrite risk, or what happens on execution.

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

Conciseness5/5

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

One concise, front-loaded sentence with no filler or restatement of the tool name.

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?

For a file-creating mutation tool, the description omits critical context: filename derivation, overwrite behavior, required parent directories, and return/confirmation behavior.

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 100%, so parameters are already well described. The description adds little beyond operational context, which meets but does not exceed the baseline.

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?

The description states a clear action ('File an issue') with a specific target location ('docs/agents/issues/'). It distinguishes this from sibling write tools such as write_report and write_review.

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?

No guidance is given about when to choose write_issue versus other tools, nor about prerequisites such as existing directory structure or whether the issue must be approved before creation.

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