Skip to main content
Glama

dpll_trace

Computes a DPLL SAT-solving step summary and detailed trace from CNF clauses so you can inspect variable assignments and failure steps.

Instructions

DPLL as a step summary ("Step 1: A=true, B=true, C=true, fail") plus a detailed trace. clauses: ["A | ~B | C", ...] or compact ["Av-BvC", ...]. Unit clauses are taken in the order given.

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": "dpll_trace"
  }
}

Input Schema

NameRequiredDescriptionDefault
clausesYes
true_firstNo
symbol_orderNo
use_pure_symbolsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose that output includes both a step summary and a detailed trace, and that unit clauses are processed in the order given, which is useful behavioral context. However, it does not state whether the tool is side-effect free, how determinism or parameter settings affect the run, or what overall SAT/UNSAT result format to expect beyond the output schema.

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?

The description is compact and front-loads the core concept and output type. The example step summary is helpful, and the second sentence adds clause syntax efficiently, though the phrasing 'DPLL as a step summary' is slightly telegraphic.

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?

This is a complex algorithmic tool with four parameters, 0% schema description coverage, and no annotations. The output schema helps with return values, but the description does not explain three of four parameters or give usage context, so it is not complete enough for reliable invocation.

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 four undocumented parameters. It explains the clauses parameter reasonably well, including both full and compact syntax and unit-clause ordering, but it says nothing about true_first, symbol_order, or use_pure_symbols, leaving most parameter semantics unexplained.

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 identifies a specific algorithm and output shape: DPLL with a step summary and detailed trace. It is clear enough to distinguish from generic solvers like truth_table or walksat_run by algorithm name, but it does not explicitly differentiate itself from siblings or state the action as clearly as a full verb phrase would.

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?

There is no when-to-use or when-not-to-use guidance. The agent is not told why to choose DPLL over resolution_proof, truth_table, walksat_run, or search_trace, nor are prerequisites or expected inputs beyond clause syntax described.

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