Skip to main content
Glama

Read specific lessons in full

domain_open

Fetches full lesson text and runnable snippets for ids selected from domain_brief, so agents open only what they will act on; superseded ids are flagged as not to act on.

Instructions

Fetch the complete text — including runnable snippets — for lessons you picked out of domain_brief. Open only what you will act on; that is what keeps this cheap. An id ending -superseded is what a lesson said before it was corrected: it answers "when did this change, and to what", and it is labelled as something not to act on.

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>",
      "ids": "<ids>"
    },
    "name": "domain_open"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYesLesson ids from domain_brief.
urlYesThe URL or domain.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/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 it does disclose two real behavioral traits: the call is expensive so scope should be narrow, and results include runnable code snippets. It does not say whether the call is side-effect free, what happens for unknown/malformed ids, or how large a batch can be, which are meaningful gaps for a fetch tool with zero annotation coverage.

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 front-loaded sentences with no filler; purpose, cost rule, and id semantics each earn their place. The superseded explanation is slightly wordy ('it answers "when did this change, and to what"') but remains purposeful.

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 read tool with no output schema, the description covers what comes back (full text plus snippets), where ids originate, and the one non-obvious id variant. Missing only edge-case behavior for bad ids and batch size limits.

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, but the description adds genuine meaning beyond the schema: provenance of `ids` (they come from domain_brief) and the `-superseded` suffix convention in the id strings, which the schema does not explain at all.

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 ('Fetch the complete text ... for lessons') and explicitly ties the input to the sibling 'domain_brief', so an agent can tell it apart from the brief/overview tool without opening either 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?

'Open only what you will act on; that is what keeps this cheap' gives a clear selection rule tied to cost, and the superseded-id note says what those ids are for. It stops short of an explicit exclusion case (e.g., what to do if you need to browse broadly), so it is strong but not exhaustive.

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