Skip to main content
Glama

Search law firms

search_firms
Read-onlyIdempotent

List law firms by name, side, district and size, most cases first. get_firm gives one firm in full.

Input Schema

NameRequiredDescriptionDefault
nameNoPart of the name, any case.
sideNoOnly those with cases for this side, ranked by their cases on that side rather than by all their cases.
limitNoResults per page, at most 50 (the default).
cursorNonextCursor from the previous page; omit for the first page.
purposeNoOne sentence on what you are trying to find out. Logged to improve the dataset; never returned.
districtNoJudicial district, e.g. HARTFORD JD.
min_casesNoAt least this many cases; with side, cases on that side.

Output Schema

NameRequiredDescriptionDefault
totalYesMatches across all pages.
resultsYesThis page of matches.
nextCursorYesPass as cursor for the next page; null on the last.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the bar is lower. The description still adds genuine context not present in structured fields: the default sort is 'most cases first', which affects how results should be interpreted. Pagination is left to the cursor/limit schema.

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 tight sentences, front-loaded with the filter/sort behavior and followed immediately by the disambiguation pointer. There is no filler and nothing an agent must read past.

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 full schema coverage, annotations, and an output schema, the description only needs to carry purpose and routing, which it does. Minor gaps like the default page size are already documented in the schema, so nothing critical is missing.

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

Parameters3/5

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

Schema description coverage is 100%, so every parameter already has documented meaning, including the side-ranking nuance and min_cases behavior. The description's mention of 'size' maps loosely to min_cases but adds no syntax or format detail beyond the schema. Baseline 3 is appropriate.

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?

States a specific verb ('List') and resource ('law firms') plus the filter dimensions (name, side, district, size) and ordering ('most cases first'). It explicitly distinguishes itself from the sibling get_firm ('gives one firm in full'), so an agent can choose between them without opening either schema.

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 sentence 'get_firm gives one firm in full' makes the list-vs-detail split clear, which is the main decision an agent faces here. It stops short of explicitly ruling out other search_* siblings or stating prerequisites, but the usage context is unambiguous.

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