Skip to main content
Glama

walksat_run

Runs a full randomized local-search satisfiability check on clause sets, using an optional seed and flip limit for repeatable practice results.

Instructions

A full randomised WalkSAT run for practice (repeatable with a seed).

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": {
      "clauses": "<clauses>"
    },
    "name": "walksat_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
pNo
seedNo
modelNo
clausesYes
max_flipsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It discloses that the run is randomised and that a seed makes it repeatable, which is useful, but says nothing about termination behaviour, what happens when max_flips is exhausted, or whether an unsatisfiable clause set is an error.

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 short sentence with the key trait (randomised, seed-repeatable) front-loaded. Nothing is padded, though the phrase 'for practice' is of dubious value to an agent.

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?

For a five-parameter tool with zero schema coverage and no annotations, the description is far too thin — the meaning of the probability parameter and flip limit are critical to calling it correctly. The existing output schema relieves it of explaining return values, but the input side is severely under-described.

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 0%, so the description must compensate for five undocumented parameters. It only explains 'seed' implicitly through 'repeatable with a seed'; p, max_flips, model, and clauses remain entirely undefined beyond their bare types.

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 algorithm and operation — a complete randomised WalkSAT run — which is distinguishable from the sibling walksat_step by the word 'full'. It is a noun phrase rather than a verb+resource statement, but an agent can still tell what the tool does.

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

Usage Guidelines2/5

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

The only contextual hint is 'for practice', which does not tell an agent when to choose a full run over walksat_step, nor what preconditions exist. No exclusions or alternatives are named.

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