Skip to main content
Glama
Nizoka

pkinative-mcp

Draft a governance-compliant GitHub issue (HITL)

draft_governance_issue
Idempotent

Drafts a local GitHub issue and compliance report for pkinative repositories without submitting, enforcing zero-dependency, reproduction, and no-secret policies for human review.

Instructions

Produce a LOCAL GitHub issue draft + compliance report for pkinative / pkinative-cli / pkinative-mcp and NEVER submit it — the agent drafts, a human reviews and files it under their own identity (Human-In-The-Loop contract, .github/AGENT_RULES.md). No GitHub write path and no network path exist in this server. The draft is checked against the zero-dependency + reproduction + no-secret policy; a violation (new runtime dependency, an embedded private key or password, missing reproduction, duplicateSearchPerformed:false) throws GOVERNANCE_VIOLATION. targetRepo 'pkinative' for engine behaviour (parsing, verification, limits, refusals), 'pkinative-cli' for the CLI, 'pkinative-mcp' for wrapper behaviour (schemas, sandbox, transport). Returns markdown inline (outputMode:'file' also writes a .md inside the sandbox). Use it only after reproducing a defect with TEST material. Present the draft AND the report to the user, then STOP.

Input Schema

NameRequiredDescriptionDefault
titleYesConcise issue title (imperative, no trailing period).
summaryYesOne or two paragraphs describing the problem or proposal. Never a private key or a password.
issueTypeYesIssue category: 'bug' | 'feature' | 'security' | 'docs' | 'performance'.
outputModeNo'inline' (default) returns the draft markdown in the response. 'file' additionally writes it to the sandbox (requires PKINATIVE_MCP_OUTPUT_DIR); outputPath must be a relative .md path.inline
outputPathNoRelative .md path inside the sandbox (only when outputMode='file').
targetRepoNoDestination repository label for the draft (documentation only — the server never contacts it). 'pkinative-mcp' (wrapper: schemas, sandbox, transport), 'pkinative' (engine: parsing, verification, limits, refusals) or 'pkinative-cli'.pkinative-mcp
reproductionYesThe minimal, locally-executed reproduction that justifies this issue (test material only).
actualBehaviorNoWhat actually happened (defaults to the reproduction result when omitted).
affectedPackagesNoPackages impacted by this issue (e.g. ["pkinative-mcp"], ["pkinative"]).
expectedBehaviorYesWhat you expected to happen instead.
duplicateSearchPerformedYesMUST be true: confirms you searched open AND closed issues/PRs for duplicates before drafting.

Output Schema

NameRequiredDescriptionDefault
titleYes
filePathNoSandboxed absolute path (when outputMode='file').
warningsYes
issueTypeYes
sizeBytesYes
complianceYes
outputModeYes
targetRepoYes
draftMarkdownYesThe full draft, ready for a human to review and submit.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Annotations say non-read-only, non-destructive, idempotent, closed-world; the description goes further by naming the failure mode (GOVERNANCE_VIOLATION on new runtime dependency, embedded key/password, missing reproduction, duplicateSearchPerformed:false), the policy set checked, the HITL contract file, and the fact that no network or GitHub write path exists in the server. The 'file' output mode writing into the sandbox is consistent with readOnlyHint=false rather than contradicting it.

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?

Front-loaded with the core contract (draft locally, never submit) and packed with useful specifics, with no filler sentences. It is dense and long-claused, and the targetRepo routing sentence restates what the enum descriptions already say, which costs a little.

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?

For an 11-parameter tool with nested reproduction and an output schema, the description covers scope, policy validation, error signaling, output modes and the HITL handoff. The one gap is what the accompanying compliance report actually contains, though the output schema likely covers that.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns more by linking parameters to behavior — duplicateSearchPerformed:false is a hard violation, outputMode:'file' writes a .md inside the sandbox, and targetRepo selects between engine, CLI and wrapper semantics. Most of this duplicates the schema text, but the enforcement consequences are genuinely additional.

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?

States a specific verb and resource ('Produce a LOCAL GitHub issue draft + compliance report') and immediately bounds the scope with 'NEVER submit it'. A reader knows exactly what artifact comes back and that no external write occurs, which no sibling tool in this PKI-oriented set does.

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?

Gives a clear precondition ('Use it only after reproducing a defect with TEST material') and a clear post-condition ('Present the draft AND the report to the user, then STOP'), plus the targetRepo routing rule for choosing among repos. No alternative tool is named, but none of the sibling tools overlaps this function, so the guidance is essentially complete.

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