policy.set
Owner only. Choose which approval types run without asking. Keys: project.create, project.delete, promote.production, migration.destructive, db.restore.production, billing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| auto_approve | Yes |
Owner only. Choose which approval types run without asking. Keys: project.create, project.delete, promote.production, migration.destructive, db.restore.production, billing.
| Name | Required | Description | Default |
|---|---|---|---|
| auto_approve | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full behavioral burden. It usefully discloses the 'Owner only' authorization requirement and the effect of the setting (approval types run without asking), but omits whether the supplied list replaces or merges with existing policy, whether changes are reversible, and any audit implications for a security-sensitive setting.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three fragments, front-loaded with the critical 'Owner only' constraint, then purpose, then the value list. No filler and everything an agent needs is near the top.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a one-parameter tool with no output schema and no annotations, purpose, auth and allowed values are covered. The significant remaining gap is whether auto_approve is the complete desired set (destructive overwrite) or an additive list, which directly affects correct invocation of a security-relevant setting.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0% and the single parameter has no enum, so the description must compensate. It does so by enumerating the accepted keys (project.create, project.delete, promote.production, migration.destructive, db.restore.production, billing), which is exactly the value domain an agent needs. It does not clarify array replace-vs-merge semantics, which limits it below 5.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb+resource: setting which approval types run without asking, i.e. the auto-approval policy. This clearly distinguishes it from siblings like approvals.list, approval.status and approval.cancel, which operate on individual approvals rather than the policy. The verb 'choose' is slightly soft but the intent is unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is implied by 'Choose which approval types run without asking' — an agent can infer this configures auto-approval. However, there is no explicit when-to-use or when-not guidance, and no pointer to related siblings such as approvals.list for inspecting pending approvals.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.