Skip to main content
Glama

entailment_check

Determines whether a knowledge base logically entails a query using truth-table model checking or resolution refutation.

Instructions

Does KB ⊨ query? Method 1: model checking (truth table). Method 2: resolution refutation.

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": {
      "kb": "<kb>",
      "query": "<query>"
    },
    "name": "entailment_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
kbYes
queryYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.5/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full burden, yet it discloses nothing beyond the core question: no note on required input form (propositional literals? clauses? arbitrary formulas?), no failure behavior for malformed KB entries, no mention of complexity limits of the truth-table method, and no indication of which method runs first or whether the caller can select one.

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?

Three short sentences, front-loaded with the question the tool answers, with zero filler. The method listing is arguably unnecessary detail, but it costs little and stays compact.

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?

An output schema exists, so return values need not be explained. However, with an undocumented two-parameter schema and no annotations, the description must at minimum specify the expected input notation; it does not, leaving an agent unable to know whether kb entries are atomic propositions, CNF clauses, or full formulas.

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 coverage is 0% and neither parameter is documented in the schema. The description only establishes the relational semantics (kb is the knowledge base, query is the entailed formula), but gives no syntax for the string elements of kb or for query — the single most important thing for calling this tool correctly.

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 states a specific operation — testing whether a knowledge base entails a query (KB ⊨ query) — and identifies the two internal methods (model checking / truth-table, resolution refutation). That is clear enough to distinguish it from single-method siblings like truth_table or resolution_proof, though it never explicitly says so.

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 'Method 1 / Method 2' lines describe implementation options, not when to choose this tool over truth_table or resolution_proof. There is no statement of prerequisites, when-not-to-use, or how to pick between the approaches, leaving the agent to guess.

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