Skip to main content
Glama

LemmaField

submit_theorem

Idempotent

Send one Lean theorem to the private intake queue for independent review. Requires explicit author consent, publication license acceptance and a private retry key. Keep the returned receipt secret.

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": {
      "title": "<title>",
      "field": "<field>",
      "author": "<author>",
      "abstract": "<abstract>",
      "statement": "<statement>",
      "significance": "<significance>",
      "proof": "<proof>",
      "claims": "<claims>",
      "licenseAccepted": "<licenseAccepted>",
      "authorConsent": "<authorConsent>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "submit_theorem"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNo
edgesNo
fieldYesResearch field.
proofYesLean source using the registry toolchain.
titleYesTitle.
authorYesAuthor attribution.
claimsYes
extendsNoImmutable public Lemmafield record ID.
parentsNo
sourcesNo
abstractYesSummary.
statementYesMathematical statement.
supersedesNoImmutable public Lemmafield record ID.
significanceYesWhy the result matters.
authorConsentYesSet true only when the author explicitly authorized sending this submission.
idempotencyKeyYesPrivate retry key. Generate 32 random bytes and reuse this key only for this exact submission.
licenseAcceptedYesThe author accepts Apache-2.0 for Lean and CC BY 4.0 for text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already declare that this is a non-read, non-destructive, idempotent, closed-world write. The description adds behavior the annotations do not cover: submissions go to a private queue and undergo independent review, so this is not immediate publication; the three gatekeeping requirements are stated; and it tells the agent to keep the returned receipt secret, which is important handling guidance. It does not state what happens on a retry with a reused key or what an acceptance or rejection looks like, which keeps it at 4 rather than 5.

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?

Only three sentences: purpose first, then requirements, then security handling. Every sentence carries distinct information, and nothing is repeated from the schema.

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 17-parameter mutation with no output schema, the description covers the critical decision points and reveals that a receipt is returned, which is information the schema otherwise would not convey. It could do slightly more by describing what the receipt contains or how review outcomes surface, but it is broadly sufficient to call the tool correctly.

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

Parameters4/5

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

Schema coverage is 71%, so the baseline is 3, and the description does add useful meaning for the three parameters that are hardest to get right (authorConsent, licenseAccepted, idempotencyKey) by framing them as gating requirements and labeling the key as a private retry key. The remaining content parameters (proof, statement, claims, edges, parents, sources) are left entirely to the schema, so it does not fully compensate but does improve on the baseline.

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 uses a specific verb and resource ("Send one Lean theorem to the private intake queue") and adds scope ("one theorem", "independent review"), which clearly separates it from the read-only siblings such as search_theorems and get_verification_receipt.

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?

The prerequisites for use are explicit: author consent, license acceptance and a private retry key must all be in place before calling. What is missing is a direct pointer to alternatives, for example where to go to look up an existing record before re-submitting, but the surrounding siblings are clearly lookups rather than submissions, so the implied context is clear.

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.