Skip to main content
Glama

Set project estimate gate

set_project_estimate_gate
Idempotent

Admin only: switch the per-project gate 'approval before implementation'. When enabled, the server refuses ticket status pending_approval/approved/resolved until the ticket has an approved estimate (or an admin override). Default off.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project_id": "<project_id>",
      "enabled": "<enabled>"
    },
    "name": "set_project_estimate_gate"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledYestrue = require an approved estimate
project_idYesProject UUID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations, the description discloses that the gate defaults to off and that enabling it blocks ticket statuses pending_approval, approved, and resolved until an estimate is approved or an admin override applies. This is meaningful behavioral context for a configuration mutation. It does not add much about persistence or returned results, but the annotations already cover idempotency and non-destructiveness.

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 front-loaded with the admin restriction and purpose, then states the enforcement effect and default in a compact form. Every sentence contributes useful information without repetition.

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 two-parameter boolean configuration tool with full schema coverage and relevant annotations, the description covers the admin requirement, default state, and enforcement behavior. A minor remaining gap is that it does not explicitly connect the gate to the override_estimate_gate tool, but the core behavior is complete.

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 100%, so the parameters are already documented in the schema. The description adds context about the gate's effect but does not provide syntax or meaning beyond what the schema already provides for project_id and enabled.

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?

The description states a specific action and resource: switching the per-project gate for approval before implementation. It clearly explains the gate's effect, but it does not explicitly distinguish this tool from the sibling override_estimate_gate even though it mentions an admin override.

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?

It gives the admin-only prerequisite and explains that enabling the gate requires approved estimates before certain statuses. However, it does not explicitly say when to call this tool instead of override_estimate_gate or other estimate-related tools.

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