Skip to main content
Glama

M2MCent x402 Universal MCP Gateway

z3-formal-verification-mcp

[0.100 USDC] Z3 SMT Solver & Mathematical Invariant Prover: Runs symbolic execution and first-order predicate logic against Solidity state transitions, financial balance invariants, and ERC token algebra using Z3 Theorem Prover.

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": {
      "problemStatementSmt2": "<problemStatementSmt2>"
    },
    "name": "z3-formal-verification-mcp"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeoutMsNo
problemStatementSmt2YesSMT-LIB v2 formatted benchmark logic or mathematical state invariant

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/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 behavioral burden. It does disclose genuinely useful context the schema does not: the tool is paid (0.100 USDC) and the underlying engine is Z3. However, it never states what the call returns (sat/unsat/unknown), how timeouts surface, whether execution is deterministic, or any latency/rate characteristics — significant gaps for a solver-style tool.

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 that leads with the tool identity and cost, then the capability and domain. No filler or repetition. The bracketed price prefix is slightly malformed but compact and informative.

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

Completeness2/5

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

With no output schema and no annotations, the description must explain the result surface, and it does not — an agent does not know whether it receives a satisfiability verdict, a model, or an error. For a tool whose primary value is a verdict, and whose timeout parameter is undocumented, this leaves the agent under-informed about both inputs and outputs.

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 only 50%: problemStatementSmt2 carries a description plus an example, but timeoutMs has only a default and no descriptive text. The description adds no parameter meaning at all — it does not say that the input must be SMT-LIB v2, nor what timeoutMs governs (solver budget vs. wall clock).

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 engine (Z3 Theorem Prover) and specific operations (symbolic execution, first-order predicate logic over SMT-LIB constraints) against concrete domains (Solidity state transitions, balance invariants, ERC token algebra). An agent can tell this is a verification/proving tool rather than a general compute or code tool. It stops short of differentiating from any named alternative, but the purpose is unambiguous.

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 through the domain list: an agent infers it should call this for Solidity invariant or SMT-LIB satisfiability problems. There is no explicit when-to-use statement, no when-not-to-use condition, and no alternative named for simpler checks or non-SMT inputs.

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.