Skip to main content
Glama

Verify Code

check_code
Read-onlyIdempotent

Run deterministic formal verification on source files against a named Assure profile (for example pqc-all-boundaries, python-auth-declared-model, postgresql-declared-model, express-auth-declared-model, or nextjs-auth-declared-model).

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": {
      "profile": "<profile>",
      "files": "<files>"
    },
    "name": "check_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesYesMap of relative file paths to UTF-8 source or config file contents.
floorNoAssurance floor: general, enterprise, or proved-only.general
profileYesAssure profile ID (call list_profiles to inspect available IDs).
requirements_mdNoOptional plain-English requirements.md text.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety and repeatability are covered structurally. The description's added value is 'deterministic formal verification', which tells the agent results are reproducible. It says nothing about runtime cost, failure modes, or what a verification result concludes, which matters for an analysis 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 with the core action first and concrete examples after. The example list is long relative to the rest but each ID aids profile selection, so little is wasted.

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 4-parameter tool with a nested files map and no output schema, the definition omits what verification returns and what severity/coverage a result carries. Annotations cover the safety profile, but the agent still lacks a picture of expected output or cost before calling.

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 coverage is 100%, so the schema already documents all four parameters, including the files map and floor enum. The description adds value only for `profile` by giving example IDs; it says nothing additional about `requirements_md` or how `floor` interacts with the chosen profile.

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?

States a specific verb and resource: 'Run deterministic formal verification on source files against a named Assure profile.' The named profile examples make the operating model concrete. It does not, however, distinguish itself from the sibling check_pqc, which plausibly overlaps with the pqc-all-boundaries example profile.

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 context is implied by 'against a named Assure profile' and the profile examples, and the schema points at list_profiles for discovery. There is no explicit when-to-use versus check_pqc, no prerequisites (e.g., files must be complete/compilable), and no statement of when this tool is inappropriate.

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.