Skip to main content
Glama

check_operational_integrity

Read-only

Evaluates if the repository state is safe for PR, merge, release, and publish operations by enforcing governance rules.

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
Behavior4/5

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

Annotations already indicate readOnlyHint=true, which the description does not contradict. The description adds behavioral context by specifying the evaluation scope (repo state safety for four operation types), going beyond what annotations provide.

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?

Single sentence efficiently conveys purpose without extraneous information. Front-loaded with the verb and resource, making it easy for an AI agent to quickly understand the tool's function.

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?

While the description is clear, it lacks information about the output/return value (no output schema). For a read-only evaluation tool, the agent would benefit from knowing what the result looks like (e.g., boolean, status object). Given complexity and sibling tools, slightly more detail would be helpful.

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 already described in the schema. The description adds no extra meaning about parameters. Baseline of 3 is appropriate as the schema does the heavy lifting.

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?

Description uses specific verb 'Evaluate' and resource 'repo state', clearly indicating it checks safety for PR, merge, release, and publish operations. This distinguishes it from sibling tools like approve_protected_action (approval) and get_branch_governance (retrieving rules).

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?

The description implies usage before PR, merge, release, or publish operations to assess safety. It provides clear context but lacks explicit when-not-to-use or alternative tool guidance. Still, it effectively directs when this tool should be employed.

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