Skip to main content
Glama

veto_decisions

Record architectural decisions as machine-checkable constraints and automatically flag diffs that violate them, preventing AI assistants from re-litigating settled choices like database or library selections.

Instructions

Decision-drift enforcement: records architectural decisions as machine-checkable constraints, then flags diffs that violate them. AI assistants forget decisions and re-litigate them sessions later — record "we use Postgres" with forbidden_patterns ["mongoose", "mongodb"] once, and veto_diff_review / veto_ci_gate automatically fail any future diff that adds them. Actions: add (rule + forbidden_patterns), list, check (a diff or the working tree), disable / enable (by id).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNodisable/enable: the constraint id.
whyNoadd: rationale, shown alongside violations.
diffNocheck: a unified diff to check. Omit to read uncommitted git changes from project_dir.
ruleNoadd: the decision in human terms, e.g. "We use Postgres — no Mongo".
actionYesWhat to do.
severityNoadd: 'block' (default — fails reviews/gates) or 'warn'.
file_scopeNoadd: optional glob limiting which files the constraint applies to, e.g. "src/**/*.ts". Default: all files.
project_dirNoScope the constraint / check to a project. Defaults to the active project; constraints saved without one apply everywhere.
include_inactiveNolist: include disabled constraints (default false).
forbidden_patternsNoadd: case-insensitive regexes (fallback: substring) that violate the decision when they appear in added lines, e.g. ["mongoose", "mongodb"].
Behavior5/5

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

The description adds significant behavioral context beyond annotations: it explains that constraints are persisted, can be disabled/enabled, the add action stores rules with forbidden_patterns, check action can read uncommitted git changes from project_dir, and forbidden_patterns are case-insensitive regexes with substring fallback. Annotations only indicate non-readonly and non-destructive, which the description aligns with.

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?

The description is three sentences plus a list of actions. It is front-loaded with the core purpose, includes a motivating example, and lists actions succinctly. No wasted words.

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?

The description covers the main workflow and relationships to sibling tools. It explains constraint scope, severity, and file_scope. However, it does not describe what the 'check' action returns (e.g., list of violations) or the output format. Given no output schema, this is a minor gap but the description still provides good context for a tool with 10 parameters.

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 baseline is 3. The description adds meaningful context by explaining the workflow: actions map to parameters (e.g., add requires rule and forbidden_patterns, check uses diff or project_dir). It provides a concrete example ('we use Postgres' with forbidden patterns ['mongoose', 'mongodb']), which helps understand parameter usage beyond schema descriptions.

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 clearly states that the tool records architectural decisions as machine-checkable constraints and flags diffs that violate them. It distinguishes from sibling tools by mentioning that veto_diff_review and veto_ci_gate automatically fail violations, clarifying the relationship.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides a concrete scenario: AI assistants forgetting decisions across sessions, with an example of recording a Postgres decision. It explains how to use the tool for enforcement, and implicitly differentiates from siblings that perform the actual review/gating.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jigyasudham/veto'

If you have feedback or need assistance with the MCP directory API, please join our Discord server