Skip to main content
Glama

Oxyo (oxyo.si) — Cut Coding Agent Token & Quota Burn by up to 72%

oxyo_prove_constraints

Read-onlyIdempotent

Solve bounded discrete constraint systems (action='satisfy' with optional minimize/maximize) or prove universal invariants (action='prove', returning a formal proof or minimal counterexample). Use for declarative constraint/invariant models; use oxyo_verify_python for general Python scripts.

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": {
      "variables": "<variables>"
    },
    "name": "oxyo_prove_constraints"
  }
}

Input Schema

NameRequiredDescriptionDefault
claimNoBoolean invariant expression that must hold across all valid states (for action='prove').
senseNoOptimization direction ('minimize' or 'maximize') when `objective` is provided.minimize
actionNoChoose 'prove' (invariant proof), 'satisfy' (constraint solve/optimize), 'bitvec_equiv' (Z3 BitVec 1..512 hardware equivalence), 'lean4' (Lean 4 anti-cheat + kernel), or 'audit_neutrality' (factual neutrality & anti-evasion anchor audit).prove
backendNoSolver backend ('auto' uses Z3 for unbounded/real/bitvec specs and finite AC-3 otherwise).auto
impl_exprNoCandidate optimized BitVec implementation expression (for action='bitvec_equiv').
lean_codeNoLean 4 theorem source to audit and verify (for action='lean4').
objectiveNoOptional arithmetic expression to optimize across valid assignments (for action='satisfy').
spec_exprNoReference BitVec specification expression (for action='bitvec_equiv').
variablesYesVariable domain map (bounded int/list, unbounded int/real/bool, or bitvec widths).
assumptionsNoPrecondition boolean expressions constraining valid input states (for action='prove').
constraintsNoBoolean constraint expressions that a solution must satisfy (for action='satisfy').
expected_headerNoOptional required Lean 4 theorem signature to block header tampering.
anchor_claim_probsNoNeutral reference anchor probability distribution (for action='audit_neutrality').
control_hedging_rateNoObserved hedging/evasion rate on neutral control probes (for action='audit_neutrality').
candidate_claim_probsNoCandidate probability distribution over factual claims (for action='audit_neutrality').
sensitive_hedging_rateNoObserved hedging/evasion rate on sensitive probes (for action='audit_neutrality').

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • changedInput schema / properties / action / description
      Previous value: -"Choose 'prove' to verify `assumptions => claim` universally, or 'satisfy' to find an assignment."New value: +"Choose 'prove' (invariant proof), 'satisfy' (constraint solve/optimize), 'bitvec_equiv' (Z3 BitVec 1..512 hardware equivalence), 'lean4' (Lean 4 anti-cheat + kernel), or 'audit_neutrality' (factual neutrality & anti-evasion anchor audit)."
    • changedInput schema / properties / action / enum
      Previous value: -[
      -  "prove",
      -  "satisfy"
      -]New value: +[
      +  "prove",
      +  "satisfy",
      +  "bitvec_equiv",
      +  "lean4",
      +  "audit_neutrality"
      +]
    • addedInput schema / properties / anchor_claim_probs
      Added value: +{
      +  "description": "Neutral reference anchor probability distribution (for action='audit_neutrality').",
      +  "items": {
      +    "type": "number"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / backend
      Added value: +{
      +  "default": "auto",
      +  "description": "Solver backend ('auto' uses Z3 for unbounded/real/bitvec specs and finite AC-3 otherwise).",
      +  "enum": [
      +    "auto",
      +    "finite",
      +    "z3"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / candidate_claim_probs
      Added value: +{
      +  "description": "Candidate probability distribution over factual claims (for action='audit_neutrality').",
      +  "items": {
      +    "type": "number"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / control_hedging_rate
      Added value: +{
      +  "description": "Observed hedging/evasion rate on neutral control probes (for action='audit_neutrality').",
      +  "type": "number"
      +}
    • addedInput schema / properties / expected_header
      Added value: +{
      +  "description": "Optional required Lean 4 theorem signature to block header tampering.",
      +  "type": "string"
      +}
    • addedInput schema / properties / impl_expr
      Added value: +{
      +  "description": "Candidate optimized BitVec implementation expression (for action='bitvec_equiv').",
      +  "type": "string"
      +}
    • addedInput schema / properties / lean_code
      Added value: +{
      +  "description": "Lean 4 theorem source to audit and verify (for action='lean4').",
      +  "type": "string"
      +}
    • addedInput schema / properties / sensitive_hedging_rate
      Added value: +{
      +  "description": "Observed hedging/evasion rate on sensitive probes (for action='audit_neutrality').",
      +  "type": "number"
      +}
    • addedInput schema / properties / spec_expr
      Added value: +{
      +  "description": "Reference BitVec specification expression (for action='bitvec_equiv').",
      +  "type": "string"
      +}
    • changedInput schema / properties / variables / description
      Previous value: -"Bounded variable domain map, e.g. {'x': {'type': 'int', 'min': 0, 'max': 50}}."New value: +"Variable domain map (bounded int/list, unbounded int/real/bool, or bitvec widths)."
  2. Changed7 schema fields changed
    • addedInput schema / properties / action / description
      Added value: +"Choose 'prove' to verify `assumptions => claim` universally, or 'satisfy' to find an assignment."
    • changedInput schema / properties / assumptions / description
      Previous value: -"Precondition constraints for action='prove'"New value: +"Precondition boolean expressions constraining valid input states (for action='prove')."
    • changedInput schema / properties / claim / description
      Previous value: -"Universal invariant expression to prove (for action='prove')"New value: +"Boolean invariant expression that must hold across all valid states (for action='prove')."
    • changedInput schema / properties / constraints / description
      Previous value: -"Symbolic constraints to satisfy (for action='satisfy')"New value: +"Boolean constraint expressions that a solution must satisfy (for action='satisfy')."
    • changedInput schema / properties / objective / description
      Previous value: -"Optional algebraic objective to optimize (for action='satisfy')"New value: +"Optional arithmetic expression to optimize across valid assignments (for action='satisfy')."
    • addedInput schema / properties / sense / description
      Added value: +"Optimization direction ('minimize' or 'maximize') when `objective` is provided."
    • changedInput schema / properties / variables / description
      Previous value: -"Map of variable specs, e.g. {'x': {'type': 'int', 'min': 1, 'max': 20}}"New value: +"Bounded variable domain map, e.g. {'x': {'type': 'int', 'min': 0, 'max': 50}}."
  3. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered by structured data. The description adds genuinely new behavior: the 'prove' action returns a formal proof or a minimal counterexample, which tells the agent what to expect on failure. It says nothing about solver cost, timeouts, or how a non-conclusive result is surfaced — relevant for an SMT-backed tool with 16 parameters.

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 capability statement is front-loaded before the routing sentence. Each sentence carries distinct information: what it does, then which sibling to prefer instead.

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

Completeness3/5

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

For a 16-parameter, five-mode tool with no output schema, the prose explains only two of the five modes; the Lean 4 audit, BitVec equivalence, and neutrality-audit paths rely entirely on enum text in the schema. There is no mention of return shapes beyond the 'prove' case or of node/state preconditions. Adequate to call the two headline modes, incomplete for the tool as shipped.

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 every parameter carries its own description, so the baseline is 3 regardless of prose. The description only adds the notion of optional minimize/maximize optimization, and even that is phrased in enum values rather than naming `sense`/`objective`, so it adds little beyond what the schema already states.

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 two concrete verbs and their resources — 'Solve bounded discrete constraint systems' and 'prove universal invariants' — with the driving `action` values inline, so the primary capability is unambiguous. It also draws a line against a named sibling (`oxyo_verify_python`). It loses a point because the tool actually exposes five actions (`bitvec_equiv`, `lean4`, `audit_neutrality` are never mentioned), so a third of the tool's surface is invisible from the prose.

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?

Explicit routing is given: 'Use for declarative constraint/invariant models; use `oxyo_verify_python` for general Python scripts' — a clear when-to-use plus a named alternative and the condition that selects it. The guidance does not cover when to reach for the lean4, bitvec_equiv, or audit_neutrality modes, so an agent must fall back to the schema descriptions to choose among them.

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.

Resources