Skip to main content
Glama

Check Operational Integrity

check_operational_integrity
Read-only

Prevent unsafe operations by evaluating repository state against governance rules before PR, merge, release, or publish actions.

Instructions

Evaluate whether the current repo state is safe for PR, merge, release, and publish operations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoPathNoOptional repository path to inspect
baseBranchNoProtected base branch to compare against (defaults to main)
commandNoOptional git, PR, or publish command to evaluate against the current governance state
requirePrForReleaseSensitiveNoWhen true, release-sensitive changes on non-base branches require an open PR
requireVersionNotBehindBaseNoWhen true, release-sensitive changes cannot lag behind the base branch package version
Behavior3/5

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

Annotations already indicate readOnlyHint: true, so the description's 'Evaluate' aligns. It adds context about checking safety for multiple operations, but does not elaborate on behavioral traits (e.g., what checks are performed, what happens if state is unsafe). With annotations present, the description adds modest value.

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 a single sentence that front-loads the core purpose, with no unnecessary words. It is concise and well-structured.

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?

Given 5 optional parameters, no output schema, and annotations providing readOnlyHint, the description covers the tool's overall purpose. However, it does not detail what 'operational integrity' entails or the return format, but the schema and annotations fill some gaps. Overall, it is sufficiently complete for a safe read-only check tool.

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 each parameter is documented. The tool description does not add extra meaning beyond the schema. Baseline 3 is appropriate.

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 uses a specific verb 'Evaluate' and clearly identifies the resource as 'current repo state' with explicit scope for PR, merge, release, and publish operations. This distinguishes it from sibling tools that focus on specific actions (e.g., get_branch_governance, approve_protected_action).

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?

The description implies usage before PR, merge, release, and publish operations, but lacks explicit when-to-use or when-not-to-use guidance compared to the large set of sibling tools. No alternatives are mentioned.

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/IgorGanapolsky/ThumbGate'

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