Skip to main content
Glama

verify_kernel_integrity

Runs locked Cargo tests and validates local source against PINS.lock, confirming kernel integrity and detecting tampering or drift.

Instructions

Run cargo test --locked and validate local source against PINS.lock.

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": {
      "repo_path": "<repo_path>"
    },
    "name": "verify_kernel_integrity"
  }
}

Input Schema

NameRequiredDescriptionDefault
repo_pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It discloses that a real cargo test run occurs, which hints at a potentially long-running command that writes build artifacts, but it says nothing about failure behavior, network access during builds, permissions, or what a pass/fail result looks like.

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, and the mechanism is stated before the validation target. It is efficient, though its terseness is partly what leaves the gaps noted in other dimensions.

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?

An output schema exists, so return values need not be explained, which lowers the bar. Still, for a tool that shells out to cargo and compares against a lockfile, an agent would benefit from knowing expected environment, failure semantics, and the meaning of repo_path — none of which are provided.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for the single required parameter 'repo_path', and the description does not compensate: it never clarifies whether this is the kernel repo root, a path containing PINS.lock, or an absolute vs relative path. Baseline expectations for an undocumented parameter call for description-level clarification that is absent here.

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 names two concrete operations — running 'cargo test --locked' and validating local source against 'PINS.lock' — which gives a specific verb-plus-resource picture of a verification tool. It is clearly distinct from siblings like generate_validation_memo or simulate_permit_lifecycle, though it does not explicitly say so.

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 when-to-use or when-not-to-use guidance, no prerequisites (cargo toolchain, a checked-out repo, presence of PINS.lock), and no named alternative. The only implicit cue is the phrase 'validate local source', which an agent must interpret on its own.

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