Skip to main content
Glama

Fetch one legal node

fetch
Read-onlyIdempotent

Read one legal node by the id returned from search (format layer:id). Returns id, title, text, url and metadata including provenance hash and reading date.

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": {
      "id": "<id>"
    },
    "name": "fetch"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesNode id in the form `layer:id`, for example `se:gdpr` or `praxis:nja-2019-4`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already declare read-only, idempotent, closed-world behavior, so the safety profile is covered. The description adds real value beyond them by enumerating the returned fields (id, title, text, url, metadata with provenance hash and reading date), which is the only disclosure of output shape since there is no output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the action and scoped by the id format, then the return payload. Every clause carries information; nothing is padded.

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 one-parameter read tool with full schema coverage, annotations covering safety, and explicit return-field disclosure standing in for a missing output schema, this is close to complete. What remains absent is error behavior for malformed or unknown ids.

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% and the schema already documents the `layer:id` format with examples. The description nonetheless adds the one thing the schema cannot convey: that this id must originate from `search`, which is a genuine workflow constraint rather than a restatement.

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 opens with a specific verb and resource ("Read one legal node") and pins the scope to a single node identified by `layer:id`. It distinguishes itself from `search` by naming it as the id source, though it gives no hint about how it differs from the similarly named `get_legal_source`.

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 clearly states the precondition for use: the id must come from `search`, which tells an agent exactly where this tool sits in the workflow. It stops short of stating exclusions or failure conditions (e.g., what to do if the id is unknown).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources