Skip to main content
Glama

uk_legal_search

Search UK case law and primary legislation. Best for legal research, compliance review, statutory interpretation, and AI-driven legal-tech applications. Costs 60 credit(s) per call.

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": {
      "query": "<query>"
    },
    "name": "uk_legal_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesNatural-language search query
end_dateNo
start_dateNo
country_codeNo
max_num_resultsNo
relevance_thresholdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. 'Search' implies a non-mutating operation and the 60-credit per-call charge is useful operational disclosure, but source coverage, freshness, result expectations, and other invocation limits remain unstated.

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?

The description is compact and front-loads the searchable resources, followed by use cases and cost. The broad phrase 'AI-driven legal-tech applications' is mildly promotional, but the overall structure has little wasted wording.

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

Completeness2/5

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

An agent can select the tool and make a basic call using the required query, but the definition is incomplete for reliable use of the full six-parameter interface. With no annotations or output schema, the missing filter semantics, result expectations, and source-coverage details are material gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 17%, and the description does not compensate with parameter-level guidance. It leaves date formats and inclusivity, country_code values and their interaction with the UK scope, and relevance_threshold behavior unexplained, while adding nothing about max_num_results beyond the schema.

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?

The opening sentence pairs a specific verb with a precise resource and jurisdiction: searching UK case law and primary legislation. That scope clearly distinguishes it from general web search and the other domain-specific search siblings.

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?

The description gives clear usage contexts through legal research, compliance review, and statutory interpretation. It does not explain when another search tool would be preferable or exclude secondary legislation and non-UK materials, so it falls short of explicit alternative-based routing.

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