Skip to main content
Glama

governance_score

Score an ODGS project's governance maturity from 0 to 100 across legislative, judiciary, executive, and infrastructure controls, returning a letter grade with findings and recommendations.

Instructions

Score a project's governance maturity (0-100).

Analyzes the ODGS project configuration across four categories: Legislative (ontology, metrics), Judiciary (rules, signing), Executive (bindings, physical maps), and Infrastructure (crypto, schemas).

Returns a letter grade (A-F) with specific findings and recommendations.

Args: project_root: Path to ODGS project root. Defaults to $ODGS_PROJECT_ROOT or cwd.

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": "governance_score"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_rootNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.2

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations present, the description carries the full burden, and it does disclose the analysis dimensions and that output is a letter grade with findings and recommendations. However, it never explicitly states that the operation is read-only and side-effect free, nor whether it is expensive or slow (full config analysis), which matters when the agent is choosing whether to invoke it.

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?

Front-loaded with the one-line purpose and return summary, followed by a compact category breakdown and a single Args block. The 'Args:' heading partially duplicates the schema and the blank-line spacing is a touch loose, but no sentence is wasted.

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 single-optional-parameter analysis tool with an output schema (so return values need no narrative), the definition covers what is analyzed, how it is scored, and the default path resolution. The remaining gap is failure behavior on an invalid or non-ODGS project root, which is not addressed.

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 must compensate, and it partly does: it explains project_root is an ODGS project root and that it falls back to $ODGS_PROJECT_ROOT or, failing that, cwd — the env-var fallback is genuinely absent from the schema. That said, it gives no guidance on format (absolute vs relative path), what happens if the path is not an ODGS project, or validation behavior.

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?

States a specific verb and resource — 'Score a project's governance maturity (0-100)' — and enumerates the four analysis categories (Legislative, Judiciary, Executive, Infrastructure), so scope is concrete. It does not name or contrast itself with plausible siblings such as conformance_check or check_drift, leaving the agent to infer the boundary.

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 'use this when' guidance, no preconditions, and no mention of alternatives (e.g., when to run a full governance score versus a targeted conformance_check or check_drift). The only implied usage is the word 'Analyzes', which sits in the behavioral half of the description rather than acting as routing guidance.

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