Skip to main content
Glama

consolidate

Process captured facts by copying new lines, extracting candidates, and integrating pending facts into the knowledge graph. Call after gathering facts or at topic changes.

Instructions

Copy, extract, and integrate. Copies new lines from named sources, extracts candidate facts from them, and integrates pending facts: domains, entities, duplicates, contradictions, the knowledge graph.

Call this after capturing several facts, at a topic change, or before the conversation ends.

Extract is capped at 50 of the oldest unexamined lines per call; events_remaining in the result says how many wait. Pass all: true to take the whole backlog in one call, or limit: N for the oldest N.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
allNoExtract the whole backlog this call instead of the capped oldest batch
limitNoExtract at most this many of the oldest unexamined lines

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.30.1

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses the 50-line extraction cap, the 'oldest unexamined lines' ordering, the events_remaining result field, and the all/limit overrides. However, it does not explain whether integrating duplicates and contradictions mutates or destructively merges knowledge-graph data, which is a meaningful gap for a tool that 'integrates' content.

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 structure is sensible: purpose, then when to call, then cap behavior and parameters. The opening fragment 'Copy, extract, and integrate.' is slightly redundant with the fuller sentence that follows, but every other sentence earns its place and the critical batch-limit detail is front-loaded.

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

Completeness4/5

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

Given no annotations and no output schema, the description compensates well by mentioning events_remaining and explaining partial-processing semantics. Remaining gaps are the undefined 'named sources' and no clarification of how this relates to capture_fact as an alternative ingestion path, but the core operational picture is complete enough for an agent to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description adds value beyond the schema by explaining all: true means taking the 'whole backlog in one call' and limit: N means 'the oldest N,' tying both parameters to the 50-item cap behavior described in prose.

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 concrete pipeline with specific verbs and resources: copies new lines from named sources, extracts candidate facts, and integrates pending facts into domains, entities, duplicates, contradictions, and the knowledge graph. This clearly distinguishes it from siblings like log_event, capture_fact, and get_events, though the vague phrase 'named sources' leaves some ambiguity about where inputs come from.

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 trigger conditions are given: 'after capturing several facts, at a topic change, or before the conversation ends.' This gives clear when-to-use context, though it does not name alternatives or state when not to use the tool, which would fully earn a 5.

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