Skip to main content
Glama

check_ai_governance_md

Read-only

Validates AI_GOVERNANCE.md text against 17 AI governance checks and returns a Markdown summary; excludes the repository-config comparison check.

Instructions

Run the 17 AI Governance Chain checks on the text of an AI_GOVERNANCE.md file and return results with a Markdown summary. Check 17 compares the file with the agent config in a repository, so it is skipped here; run aigovchain check inside the repository for it.

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": {
      "text": "<text>"
    },
    "name": "check_ai_governance_md"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesFull file content

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered; the description adds real value by disclosing that 17 checks run, that results include a Markdown summary, and notably that check 17 is silently skipped with a reason. It does not describe the shape of the results object, error behavior for malformed text, or what happens on partial failures.

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 sentences, both earning their place: the first states the operation and output, the second pre-empts the obvious question about the missing 17th check. The main behavior is front-loaded with zero preamble or 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?

With one required parameter, no output schema, and readOnly annotations, the definition covers what an agent needs to call it and what to expect back (results plus Markdown summary). The check-17 caveat is a meaningful completeness win; only the precise result structure and failure modes remain unstated.

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?

With a single parameter at 100% schema description coverage ("Full file content"), the schema already carries the semantics. The description confirms the input is the text of an AI_GOVERNANCE.md file, which is a mild clarification but adds no format, encoding, or size guidance beyond that.

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 gives a specific verb and resource: run the 17 AI Governance Chain checks against the text of an AI_GOVERNANCE.md file, returning results plus a Markdown summary. It clearly differs from generate_ai_governance_md by being a check rather than a generator, but it does not name or contrast any sibling explicitly, leaving that inference to the agent.

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?

Usage is clear: this tool works on file text supplied by the caller, and for check 17 — which needs a repository and agent config — the description routes the agent to running aigovchain check inside the repository instead. It offers no guidance on choosing between this and siblings like scope_check, but the conditional alternative for the unsupported check is stated outright.

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