Skip to main content
Glama

What ALCBar needs to match a lawyer

get_matching_requirements
Read-onlyIdempotent

Given what is known about a legal matter, list the missing details that would improve a lawyer match and the questions to ask. Does not answer the legal question.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
zipNo5-digit ZIP code, only if the user agreed to share it
cityNo
courtNo
stateNoUS state, two-letter code or name, e.g. CA or California
countyNo
urgencyNo
categoryNo
languagesNo
remote_okNoUser is willing to work with a lawyer remotely (phone or video) anywhere in the state
budget_maxNoTotal budget the user mentioned, in US dollars
budget_minNo
prioritiesNoWhat matters most, in order. Shifts ranking weights.
client_sideNoWhich side the user is on. ALCBar has no record of which side lawyers usually represent, so results carry a warning to ask.
descriptionNoShort description of the legal need in the user's words. Used only to pick a practice area; not stored.
matter_typeNo
communicationNo
deadline_dateNoA deadline the USER reported (hearing, filing, response). ALCBar does not verify or calculate deadlines.
deadline_typeNo
practice_areaNoPractice area, e.g. 'Landlord-Tenant Law', 'Family Law', 'Criminal Law'
service_neededNo
consultation_byNoLatest date the user wants a first consultation
procedural_stageNo
subpractice_areaNo
language_requiredNoTrue if the language is essential, not just preferred
billing_preferenceNo
min_years_licensedNo
accessibility_needsNo
payment_plan_neededNo
exclude_attorney_idsNo
max_consultation_feeNo0 means the user wants a free first consultation
reduced_fee_eligibleNoUser may qualify for pro bono, legal aid or reduced fees
representation_start_byNoDate as YYYY-MM-DD
include_unconfirmed_practice_areaNoAlso include licensed lawyers whose practice areas are not on record (labeled clearly)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds one useful scope trait (it will not answer the legal question) but says nothing about what the returned gap list/questions look like or how many rounds of input are expected.

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?

Two tight sentences, front-loaded with the purpose and closed with the scope boundary; no filler. It is efficient, though for a 33-parameter tool the terseness edges toward under-specification rather than pure conciseness.

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?

No output schema exists, so the description must describe the return shape, yet it only gestures at 'missing details... and the questions'. For a 33-param, zero-required gap-analysis tool in a matching workflow, an agent lacks enough to invoke it confidently or know what comes back.

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

Parameters2/5

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

With 33 parameters and only ~45% schema description coverage, the description carries real burden and adds none — it never mentions a single input field or how known-vs-missing details are supplied. Several undocumented fields (city, court, county, urgency, category, languages, matter_type, communication, etc.) are left with neither schema nor description meaning.

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 concrete verb and output ('list the missing details... and the questions to ask') scoped to 'what is known about a legal matter', so an agent knows this returns a gap analysis rather than attorney results. It distinguishes itself from matching siblings mostly by implication plus the closing boundary 'Does not answer the legal question', but never names the siblings it is not (e.g., find_attorneys).

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 name and 'would improve a lawyer match' suggest calling this before a matching/find step, but there is no explicit when-to-use, prerequisite, or alternative named among the nine siblings. The one boundary given ('Does not answer the legal question') is a when-not hint, which keeps this above a bare 2.

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