Skip to main content
Glama

confirm_claim

Judges a suspected physics-code defect by running a claim file in a fresh process, returning confirmed, rejected, or not decidable with reasons and check statuses.

Instructions

Deprecated: physverify mcp is deprecated and planned for removal in 0.11.0. Run the checks with physverify run or pytest instead (see AGENTS.md). If you use this server, please say so at https://github.com/rcgiri-physics/physverify/issues/123 Judge one suspected defect with physverify confirm. Takes a claim file that defines CLAIM, control() and checks() with a reference written from the physics (docs/confirm.md), runs it in a fresh process and returns the verdict: confirmed, rejected or not decidable, with the reason and each check's status and message. Appends the result to a ledger file. Runs the code, so it needs trusted=true or the sandbox (PHYSVERIFY_REPO set).

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": {
      "claim": "<claim>"
    },
    "name": "confirm_claim"
  }
}

Input Schema

NameRequiredDescriptionDefault
claimYespath of the claim file
ledgerNoledger file (default confirm_ledger.jsonl)
timeoutNoseconds for the whole run (default 300)
trustedNothe code under test is trusted (required outside the sandbox)
allow_dependent_referenceNoreason, recorded, to run although the reference seems to use the code under test

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does well: it discloses that the code is executed in a fresh process, that the result is appended to a ledger file (a persistent side effect), and that execution requires trusted=true or a sandbox. Gaps remain on failure modes (timeout behavior, what happens if the claim file is malformed, whether ledger writes can fail) which is why it is not a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The most important information, the deprecation and the actual purpose, is interleaved rather than front-loaded, and the description opens with a changelog note. The sentence asking users to comment on a GitHub issue is process noise from an agent's perspective. The remaining substance is dense and earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description compensates by describing the return value precisely: a verdict of confirmed, rejected or not decidable, with the reason and each check's status and message. It also covers execution model and persistence, which is what an agent needs before calling a code-executing tool.

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 100%, so the baseline is 3. The description adds real meaning beyond the schema by explaining what a claim file must contain (CLAIM, control(), checks(), reference from the physics) and by tying trusted=true to the sandbox alternative. It adds nothing for allow_dependent_reference, which remains schema-only.

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 a specific verb and resource: 'Judge one suspected defect with physverify confirm', and explains that it takes a claim file defining CLAIM, control() and checks() and returns a verdict. The deprecation notice occupies the opening and pushes the actual purpose back, but once found it is unambiguous. It does not explicitly name the sibling run_checks, though it contrasts itself with 'physverify run' / pytest.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states clearly when NOT to use this tool (deprecated, planned removal in 0.11.0) and what to use instead ('physverify run' or pytest, see AGENTS.md). It also states the precondition for use: 'trusted=true or the sandbox (PHYSVERIFY_REPO set)'.

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

Deploy Server

Other Tools