Skip to main content
Glama

Lean Directory

Check a program's proof and build status

check_program

Report a deployed program's status: CI-reproduced Lean proof attestation, our hash of the live bytecode, upgrade authority, and OtterSec verified-build status as supporting information. It trusts the RPC node's ProgramData and OtterSec's build service, and only a CI-reproduced attestation that matches the live deployment raises the status.

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": {
      "programId": "<programId>"
    },
    "name": "check_program"
  }
}

Input Schema

NameRequiredDescriptionDefault
programIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses the trust model (it trusts the RPC node's ProgramData and OtterSec's build service) and the status-raising condition (only a CI-reproduced attestation matching the live deployment). What it does not state is the failure/degraded behavior when those dependencies are unavailable, or that the call is read-only.

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?

Three sentences, front-loaded with the reported fields, then the trust model, then the status rule. Slightly dense and the qualifier "as supporting information" is a bit buried, but there is no filler or redundant restatement of the tool name.

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?

No output schema and no annotations, so the description must define the payload, which it does by naming the four reported elements and explaining how status is determined. Missing only edge-case behavior (unreachable RPC, missing attestation) for full completeness.

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?

Only one parameter, programId, and schema coverage is 0%, but the pattern (base58, 32-44 chars) and the phrase "deployed program" make the expected value clear enough. The description adds no format or sourcing detail beyond that, so it is adequate rather than compensating for the coverage gap.

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 opens with a specific verb and resource ("Report a deployed program's status") and immediately enumerates what the report contains: CI-reproduced Lean proof attestation, bytecode hash, upgrade authority, and OtterSec verified-build status. This is distinguishable from the check_mint / check_transaction siblings, which operate on different resources.

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?

Usage is only implied: an agent can infer this is the tool for inspecting a deployed program's trust/proof status, but there is no explicit when-to-use, when-not-to-use, or named alternative (e.g., versus verify_tool or get_tool). The decision boundary against siblings is left to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.