Skip to main content
Glama

Create release policy

init_policy

Writes a commented starter .qa-mcp/release-policy.yaml with defaults for every rule and does not overwrite an existing policy unless explicitly requested.

Instructions

Write a commented starter policy to .qa-mcp/release-policy.yaml (defaults for every rule). Won't overwrite an existing policy unless asked.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "init_policy"
  }
}

Input Schema

NameRequiredDescriptionDefault
overwriteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose the write target, the content shape (commented, defaults for every rule), and a non-destructive default. It omits what happens on refusal when a policy exists (error vs. silent no-op), whether the parent directory is created, and whether the tool returns a path or confirmation — all relevant for a file-writing tool.

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?

Two short sentences, front-loaded with the action and destination, followed by the one guardrail that matters. Nothing redundant and nothing buried.

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 a one-optional-param, no-output-schema tool, the description covers the destination path, the generated content, and the overwrite safeguard, which is enough to call it correctly. The only material gap is the return value and the failure mode when a policy already exists.

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?

The single overwrite parameter has 0% schema description coverage, so the description is the only source of meaning. It alludes to the flag via 'unless asked' but never names it or spells out that overwrite=true replaces an existing file, leaving the agent to map the prose to the boolean.

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 artifact: writes a commented starter policy to .qa-mcp/release-policy.yaml containing defaults for every rule. That is clearly a scaffolding/write operation, distinguishable at a glance from the read/evaluate siblings (list_rules, evaluate_release, collect_evidence, plan_checks).

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?

The clause 'won't overwrite an existing policy unless asked' implies the condition under which it is safe to call, and 'starter policy' implies bootstrap-time use. However, it never explicitly says when to reach for this versus list_rules or evaluate_release, nor does it state what an agent should do if a policy already exists.

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