Skip to main content
Glama
UK Legal Research MCP Server

UK Legal Research MCP Server

by paulieb89

List Resources

list_resources
Read-onlyIdempotent

Lists available UK legal research resources and resource templates, returning JSON metadata that distinguishes static URIs from template placeholders.

Instructions

List all available resources and resource templates.

Returns JSON with resource metadata. Static resources have a 'uri' field, while templates have a 'uri_template' field with placeholders like {name}.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.9.1
    • removedOutput schema / description
      Removed value: -"Generic wrapper for non-object return types."
  2. Changed1 schema field changedv0.6.1
    • addedOutput schema / description
      Added value: +"Generic wrapper for non-object return types."
  3. Addedv0.5.1
  4. Removed
  5. First observedv0.4.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered. The description adds real behavioral detail beyond that: two distinct resource kinds exist, and each is identifiable by a different field ('uri' vs 'uri_template' with {name} placeholders), which shapes how the caller should interpret results.

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 short sentences, front-loaded with the action and followed by the return shape. The field-level detail about 'uri' and 'uri_template' overlaps somewhat with the declared output schema, so it is not entirely waste-free, but 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?

With no parameters, rich annotations and an output schema, the description covers everything the agent needs to invoke the tool correctly. The main omission is any statement of pagination/limits or how the result feeds into read_resource.

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?

The tool takes zero parameters, so the baseline is 4. Nothing in the description misrepresents or contradicts the empty input schema.

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+resource: "List all available resources and resource templates." It clearly distinguishes itself from most siblings (bills, legislation, votes, etc.), though it does not explicitly contrast with the adjacent discovery tools list_prompts and read_resource.

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?

Usage is only implied: the agent is expected to infer that this is a discovery step that precedes read_resource. There is no explicit when-to-use/when-not-to-use statement and no mention of the related tools in the same family.

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