Skip to main content
Glama

Get commit-boundary contract

get_commit_boundary_contract
Read-onlyIdempotent

Returns the abstract action-class, Phase 1 pre-execution authorization, Phase 2 post-execution validation, commit invariant, version binding, outcome precedence, and conditional assumptions from Constraining the Commit Boundary v2.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_commit_boundary_contract"
  }
}

Input Schema

NameRequiredDescriptionDefault
phaseNo
actionClassNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly=true, idempotent=true, destructive=false, closed-world, so the safety profile needs no restatement. The description adds genuine context beyond them: the governing spec ('Constraining the Commit Boundary v2') and the version binding it returns. It does not disclose what happens when both optional parameters are omitted, or whether the response is filtered by them.

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?

A single front-loaded sentence with no filler; every listed facet is substantive content. It loses a point because the dense comma-run of jargon is harder to parse than a short structured list would be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 usefully doubles as a return-value inventory, which is the right call. But for a two-parameter, enum-driven, all-optional lookup it omits how parameters shape the result and what an unfiltered call yields, leaving a real gap for correct invocation.

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 carries the burden. It does partially compensate: 'abstract action-class' maps to actionClass and 'Phase 1 pre-execution authorization / Phase 2 post-execution validation' maps to phase. However it never states that both parameters are optional filters, what the default behavior is, or what distinguishes READ vs REVERSIBLE_WRITE vs IRREVERSIBLE_WRITE — the enum values remain unexplained.

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 verb+resource are specific: it 'Returns' a contract and enumerates the exact facets (action-class, Phase 1 authorization, Phase 2 validation, commit invariant, version binding, outcome precedence, conditional assumptions). An agent knows exactly what content it gets. It stops short of a 5 because it never distinguishes itself from the contract-style siblings (e.g. get_evidence_promotion_contract, get_mutation_guardrail_profile); the differentiation is left to the name.

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 explicit when-to-use statement, no when-not-to-use, and no named alternative. The only guidance is implicit — that it is the source for commit-boundary rules from a specific paper (v2). An agent must infer the triggering situation from the returned-facet list alone.

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.