Skip to main content
Glama
UK Business Tools - Ledgerhall

UK Business Tools - Ledgerhall

List Resources

law_list_resources
Read-onlyIdempotent

List available legal resources and resource templates, returning JSON metadata that distinguishes static resources by URI from templates with placeholder patterns.

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}.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "law_list_resources"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.0
    • removedOutput schema / description
      Removed value: -"Generic wrapper for non-object return types."
  2. First observedv0.2.1

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered. The description adds the shape of the result and the meaningful static-vs-template distinction ('uri' vs 'uri_template' with {name} placeholders), but since an output schema exists this is partially redundant; no pagination, count, or follow-up behavior is disclosed.

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 short sentences, front-loaded with the action, and every clause carries information (return format, then the uri/uri_template distinction). No filler or repetition.

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 trivial zero-arg, read-only listing tool with rich annotations and an output schema, the description is nearly sufficient. The one real gap is not telling the agent that the returned URIs/templates are consumed by law_read_resource, which is the natural next step.

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 there is nothing for the description to disambiguate. The baseline for a no-parameter tool applies, with no misleading parameter language present.

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?

States a specific verb and resource ('List all available resources and resource templates'), which is clear on its own. It does not explicitly differentiate itself from the closely related siblings law_list_prompts and law_read_resource, though the 'resources' vs 'prompts' wording makes the distinction largely inferable.

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: an agent can infer this is a discovery call that should precede law_read_resource. There is no explicit statement of when to use this versus law_list_prompts, nor any guidance that the returned URIs are meant to be passed to law_read_resource.

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

Deploy Server

Other Tools