Skip to main content
Glama

AI Law Framework

Search the practice library

search_library
Read-onlyIdempotent

Searches the framework’s published practice areas, tasks, jurisdiction versions, jurisdictions, firm-wide obligations and software profiles. Returns titles, ids and ailawframework.com links.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNo
limitNo
queryYesWords describing the task, area, jurisdiction or product.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely useful return-shape information ('returns titles, ids and ailawframework.com links') that compensates for the absent output schema, but says nothing about result limits, ordering, or relevance behavior.

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 sentences, front-loaded with the verb and scope, followed by return contents. The long enumeration is necessary for scope but slightly list-heavy; nothing is redundant.

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

Completeness3/5

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

For a search tool with no output schema, stating the returned fields is a real contribution. However, the description omits result-limit behavior (the schema caps limit at 25) and does not clarify ranking or empty-result behavior, leaving gaps an agent may hit in practice.

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 only 33% and neither the 'limit' cap nor the 'kind' enum is explained in the description. The enumerated entity types do map loosely onto the 'kind' enum values (task, practice-area, jurisdiction, software, obligation), providing partial implicit coverage, but 'limit' is left entirely undocumented.

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 gives a specific verb ('searches') and enumerates the exact resource types covered (practice areas, tasks, jurisdiction versions, jurisdictions, obligations, software profiles), so the agent knows the scope. It does not, however, distinguish itself from the sibling search_precedents, which is also a search tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance and no named alternative. The agent must infer from the enumerated entity types that this is the broad discovery tool versus the get_* retrieval siblings, but the description never states that 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