Skip to main content
Glama

AI contribution policy generator

policy
Read-onlyIdempotent

AI_POLICY.md (strict | disclose-and-own | agent-friendly) for your project plus a PR template with an AI-disclosure section, as JSON. Same text as the free web generator on this site. Price: $0.01 USDC on Base per call, paid with x402 (MCP transport: an unpaid call returns the x402 PaymentRequired object; retry with params._meta["x402/payment"]). Same tool over HTTP: GET /api/policy.

Input Schema

NameRequiredDescriptionDefault
styleNo
projectNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Goes well beyond the readOnly/idempotent/openWorld annotations by disclosing the x402 payment mechanic: an unpaid MCP call returns a PaymentRequired object and must be retried with params._meta["x402/payment"], priced at $0.01 USDC on Base. That is exactly the non-obvious behavior an agent needs to avoid failing. It also notes the output mirrors the free web generator, which is useful context. Generating text is consistent with readOnlyHint=true, so there is no contradiction.

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 output artifact is front-loaded and every clause carries information (styles, contents, price, transport behavior, HTTP equivalent). It is dense in a single block, though the inline HTTP endpoint is marginal for an MCP caller and slightly crowds the core message.

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?

With no output schema, the description correctly states the return shape (JSON containing the policy and PR template) and covers the payment handshake an agent must implement. The main gap is leaving the 'project' parameter's effect and the optionality of both inputs unexplained.

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 0%, so the description has to carry the load. It does enumerate the three style values inline and reveals the hidden payment parameter (_meta["x402/payment"]), which adds real value. However, the 'project' parameter is never explained, and neither param is marked optional (required set is empty), so coverage is partial.

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?

States a specific artifact (AI_POLICY.md plus a PR template with an AI-disclosure section) and enumerates the three style variants, so the agent knows exactly what it gets back. It does not distinguish itself from the sibling repo_ai_policy, which sounds like it produces similar output, leaving ambiguity over which to call.

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 / when-not-to-use guidance and no explicit routing to or away from the near-identical sibling repo_ai_policy. The only implied usage signal is the pricing note, which tells the agent it costs money but not when this is the right tool over its alternatives.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources