Skip to main content
Glama

Say whether a lesson actually held

domain_report

Report whether a domain lesson worked or failed to update its confidence and verification date, so shared browser knowledge stays reliable and failures demote disputed lessons.

Instructions

After acting on a lesson from domain_open or domain_unstick, report the outcome. This is what keeps the memory trustworthy: confirmations raise confidence and refresh the verified date, failures lower it, and two failures demote a lesson to disputed so it stops misleading people. One call, and every later agent benefits.

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>",
      "id": "<id>",
      "outcome": "<outcome>"
    },
    "name": "domain_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe lesson id.
urlYesThe URL or domain.
noteNoOn failure: what actually happened. Recorded on the lesson.
outcomeYesDid following it produce the expected result?

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/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 that confirmations raise confidence and refresh the verified date, failures lower confidence, and two failures demote a lesson to disputed. Missing are the return payload, whether repeated reports are idempotent, or any error/permission behavior, but the state-change semantics are unusually well exposed.

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 sentences, front-loaded with the trigger condition and followed by consequences. The closing line ('One call, and every later agent benefits') is motivational rather than informational, but it is short and does reinforce why the call matters.

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 four-parameter, annotation-free tool with no output schema, the definition covers purpose, trigger, and state effects well. It omits what the call returns and whether the demotion logic is reversible, which are the remaining gaps an agent might care about.

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

Parameters3/5

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

Schema coverage is 100%, so id, url, note, and the worked/failed enum are already documented. The description adds meaning to the outcome values via their downstream effect on confidence, but says nothing about the note field or url scope, so it barely exceeds the schema baseline.

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 verb and resource: report the outcome of a lesson after acting on it, and names the sibling tools (domain_open, domain_unstick) whose output it closes the loop on. An agent can tell this is a feedback/reporting tool rather than a lookup or mutation-of-content tool without opening the schema.

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?

Gives clear triggering context: call it after acting on a lesson obtained from domain_open or domain_unstick. It does not spell out when not to call it (e.g., whether to report outcomes for lessons read via domain_brief), so the routing is clear in the primary case but not exhaustive.

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