Skip to main content
Glama

red-web-utils

caselaw_fetch

Fetch the text of a UK court judgment by its Find Case Law path (e.g. uksc/2024/1). Returns the judgment as plain text, first section. Pay-per-call $0.001 (USDC on Base, x402/MPP - a 402 challenge is returned on unpaid calls).

Input Schema

NameRequiredDescriptionDefault
pathYesrequired

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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 full burden and does meaningful work: it discloses pay-per-call pricing ($0.001 USDC on Base), the payment protocol (x402/MPP) and the concrete failure mode (a 402 challenge on unpaid calls). It also states the return format (plain text), though 'first section' is left unexplained and no rate limits or other error modes are covered.

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?

Three tight sentences with no repetition: what it does and its identifier format first, then the return shape, then cost/auth constraints. Every sentence adds information an agent needs before calling.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter, no-output-schema tool, this covers the essentials: input format, return type, and the non-obvious payment precondition that would otherwise cause silent failures. Only the ambiguous 'first section' phrase leaves a minor gap.

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 nominally 100%, but the schema's own text for `path` is merely 'required', so the description's illustrative format 'uksc/2024/1' is the actual source of meaning about what the value looks like. It stops short of stating where paths come from or what a malformed path does.

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?

Names a specific verb (fetch) and a precisely scoped resource (text of a UK court judgment) keyed to a Find Case Law path, with a concrete example ('uksc/2024/1'). This distinguishes it cleanly from siblings like caselaw_search (discovery), caselaw_us (different jurisdiction) and legislation_search (different source type).

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

Usage Guidelines3/5

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

The example path implies the caller must first resolve an identifier, and the UK framing implies when this is the right caselaw tool, but it never explicitly says to use caselaw_search to obtain a path or states when to prefer caselaw_us. Usage is inferable rather than stated.

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