Skip to main content
Glama
dvir-shamay

mcp-convention-gate

by dvir-shamay

create_gate_session

Start a review gate session for a task, sprint, or PR. Returns a session ID for registering required reviews and checking commit readiness, using repo defaults or a custom gate list.

Instructions

Create a new gate session for a task/sprint/PR. Returns a session ID used for subsequent gate registrations and commit checks. If required_gates is omitted, defaults to this repo's .gate-config.json (falling back to the built-in 9-role set if that file is absent).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
descriptionYesDescription of the task or sprint (e.g., "S47: harden briefing routes")
required_gatesNoOverride the default required gates. If omitted, uses .gate-config.json's required_gates, or the built-in 9-agent default if that file is absent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses default behavior ('If required_gates is omitted, defaults to this repo's .gate-config.json...') and the return value. It does not cover side effects or permissions, but as a create tool this is sufficient.

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 compact sentences front-load the primary purpose and return value, then cover the default behavior. 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?

For a 2-parameter tool with no output schema, the description covers purpose, return value, and default behavior. It could mention error cases or what 'commit checks' entail, but overall it is complete enough for correct invocation.

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 value by explaining the defaulting logic for required_gates (fallback chain) and clarifying the purpose of the returned session ID, exceeding what the schema states.

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 explicitly states 'Create a new gate session for a task/sprint/PR' and notes it 'Returns a session ID used for subsequent gate registrations and commit checks,' clearly distinguishing it from siblings like register_gate and gate_status.

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

Usage Guidelines4/5

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

It implies usage as the entry point ('used for subsequent gate registrations and commit checks') but does not explicitly state when to avoid it or compare to alternatives. Context is clear but exclusions are absent.

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