Skip to main content
Glama

LemmaField

get_formal_proof

Read-onlyIdempotent

Read the exact published Lean source and verify its SHA-256 against the accepted record. Available for verified theorems and papers.

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": {
      "id": "<id>"
    },
    "name": "get_formal_proof"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesImmutable public Lemmafield record ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower. The description usefully adds that the read includes a SHA-256 verification against an accepted record, which is behavior beyond the annotations. It does not disclose what happens on a hash mismatch or whether the verification result is returned alongside the source, which matters for a tool whose premise is integrity checking.

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, no filler, and the core action is front-loaded ahead of the availability constraint. Every clause carries information an agent can act on.

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-parameter read with full schema coverage and four relevant annotations, little is missing. The implied return (Lean source plus hash verification) is inferable, though the description never states what a failed verification looks like, which is the one gap for an integrity-focused tool with no output schema.

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% and there is only one parameter, whose pattern and meaning ('Immutable public Lemmafield record ID') are fully documented in the schema. The description adds no syntax or format detail beyond that, so the baseline of 3 applies.

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 pair (read and verify) plus a precise resource (the exact published Lean source), and adds the integrity check against the accepted record. That is far more informative than a restatement of the name. It stops short of naming how it differs from close siblings such as get_verification_receipt, leaving that distinction implicit in the word 'source'.

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?

"Available for verified theorems and papers" sets a real precondition on when this tool applies, which is more than nothing. It does not say what to use instead for unverified or draft records, nor does it contrast with get_verification_receipt or search_theorems, so an agent must infer the boundary.

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.