Skip to main content
Glama
ClickHouse Loom

ClickHouse Loom

Official

loom_op

Destructive

Run named Loom operations by dotted name to discover available ops and arguments, retrieve memory evidence, or generate session digests.

Instructions

Run a Loom op by its dotted name: {"op": "help", "query": ""} finds ops and arguments; then {"op": "memory.related", "arguments": {"memory_key": "deploy_day"}}. "(via loom_op)" routes here. Also: the source turns behind a memory (memory.evidence); session digests (memory.digests). Prefer a fitting listed tool; identity and namespace default as usual.

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": {
      "op": "<op>"
    },
    "name": "loom_op"
  }
}

Input Schema

NameRequiredDescriptionDefault
opYesA dotted op name, or "help".
queryNoWith op="help": words matched against op names and purposes.
argumentsNoThe op's own arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.2.0
    • addedInput schema / properties / arguments / description
      Added value: +"The op's own arguments."
    • addedInput schema / properties / op / description
      Added value: +"A dotted op name, or \"help\"."
    • addedInput schema / properties / query / description
      Added value: +"With op=\"help\": words matched against op names and purposes."
  2. First observedv1.1.0

TDQS

A3.5/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, and idempotentHint=false, so the safety bar is lower, but the description adds nothing about which ops mutate or destroy data, whether confirmation is needed, or what an unexpected op name does. For a catch-all dispatcher flagged destructive, the absence of any warning that invocation can change state is a real gap. It does add passing context ('identity and namespace default as usual'), but nothing about the destructive path.

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 core action is front-loaded in the first clause, followed by short examples rather than prose. The fragment '"(via loom_op)" routes here' is awkward and under-explained, and the 'Also:' list of memory.evidence and memory.digests reads as tacked-on rather than structured.

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 free-form dispatcher with nested untyped arguments, no output schema, and a destructive annotation, the definition covers entry and discovery but not failure modes (unknown op name), what a successful response contains, or any safety framing. It is adequate to start an invocation but thin for a tool that can reach arbitrary Loom operations.

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 baseline is 3, and the description earns above that by demonstrating the two-step pattern: use op="help" with query to learn an op's arguments, then pass them under 'arguments'. The concrete memory.related / memory_key example clarifies that 'arguments' is op-specific and opaque, which the generic object schema cannot convey. The help-only meaning of 'query' is largely restated from the schema.

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 first clause states a specific verb and mechanism: 'Run a Loom op by its dotted name,' and the two inline examples show both the discovery form and a concrete invocation. What it does not do is scope the space of ops, so an agent knows the dispatch mechanism but not the capability surface without calling help first. The 'Prefer a fitting listed tool' note gives partial differentiation from the loom_* siblings.

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?

It gives a clear operating rule (prefer a fitting listed tool, fall back to loom_op) and a concrete discovery procedure (op="help" with query words finds ops and arguments). It stops short of saying when loom_op is actually required versus merely convenient, and gives no guidance on when not to use it for destructive ops.

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