Skip to main content
Glama

Consolidate what a site has accumulated

domain_curate

Find overlapping lessons, hardcoded procedure values, unused entries and broken or unproven steps for a domain, then apply the fixes you agree with and record the curation pass.

Instructions

Run this when a site has built up enough knowledge to be worth tidying — domain_brief will say so. It returns candidates found mechanically: lessons that overlap, values hardcoded into procedures that should be parameters, knowledge that is really about the web rather than this site, entries nobody has used, and procedures that are broken or never proven.

It changes nothing. Every item is a candidate and the judgement is yours: whether two lessons really say the same thing, whether a pattern generalizes, whether a literal would differ on the next call. Apply what you agree with using domain_remember, domain_forget and procedure_save, then call this again with done: true to record that the pass happened.

The goal is a site that converges on a small set of proven operations, not an archive that grows forever. Every entry costs ranking quality and tokens on every single brief.

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": {
      "url": "<url>"
    },
    "name": "domain_curate"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe URL or domain to curate.
doneNoPass true after you have applied your changes, to record the pass.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does so by declaring 'It changes nothing' — an explicit read-only guarantee — and by stating that the judgement of each candidate is left to the agent rather than applied automatically. It also justifies the tool's existence (ranking quality and token cost of stale entries). It does not describe the shape or size of the returned candidate list, which is the one behavioral gap.

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 trigger and the mechanical nature of the output are front-loaded, and the operational instructions follow in a logical order. The closing paragraph is motivational framing rather than callable information, which is the only sentence that does not fully earn its place.

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?

For a two-parameter, no-annotation, no-output-schema tool, the definition covers trigger, read-only nature, candidate taxonomy, and the follow-up workflow. What is missing is any sense of the returned structure or volume of candidates, which an agent planning a curation pass would want given there is no output schema.

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, but the description adds real meaning for `done` by explaining it as the signal that a curation pass was applied and that it is used on a second invocation. That workflow semantics goes beyond the schema's one-line gloss.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific action and output: it 'returns candidates found mechanically' and then enumerates the exact candidate classes (overlapping lessons, hardcoded literals, web-scoped knowledge, unused entries, broken/unproven procedures). That enumeration makes it unmistakable against siblings like domain_brief or domain_remember.

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

Usage Guidelines5/5

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

Gives an explicit trigger ('when a site has built up enough knowledge to be worth tidying — domain_brief will say so') and names the follow-up tools to apply changes (domain_remember, domain_forget, procedure_save) plus the re-invocation with done: true. The when-to-use, what-to-do-next, and how-to-close-the-loop are all spelled out.

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