Skip to main content
Glama

List legal topics

list_topics
Read-only

List available legal topics from the domain taxonomy.

Returns topic slugs you can pass as the `topic` filter in search_cases
and other tools. Optionally filter to a specific domain.

Args:
    domain_slug: Filter to topics under this domain (e.g. "employment",
        "landlord-tenant"). Omit for the full taxonomy.

Input Schema

NameRequiredDescriptionDefault
domain_slugNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already declare this is a read-only, closed-world operation. The description adds useful behavioral context by stating that the result is topic slugs intended for use as filters elsewhere. It does not discuss permissions, rate limits, or pagination, but those are less critical given the annotations and simple read-only nature.

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?

The description is front-loaded with the core purpose and return value, then provides just enough argument detail. Every sentence adds useful information with no redundant restatement.

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 simple one-parameter read-only list tool with an existing output schema, the description covers purpose, output meaning, downstream use, and parameter behavior. Nothing needed to call it correctly appears to be missing.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must carry the parameter meaning. It does so fully: explains `domain_slug` as a filter to topics under a domain, gives concrete examples ('employment', 'landlord-tenant'), and states that omitting it returns the full taxonomy.

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 uses a specific verb and resource: listing legal topics from the domain taxonomy. It also clarifies the output is topic slugs usable as filters. However, it does not explicitly differentiate this tool from the sibling browse_taxonomy, which could leave an agent unsure which taxonomy tool to pick.

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 gives clear usage context: use this to obtain topic slugs for the `topic` filter in search_cases and other tools. It also states the when-not case for the optional parameter ('Omit for the full taxonomy'). It does not name alternative taxonomy-browsing tools.

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