Skip to main content
Glama

Search the practice library

search_library
Read-onlyIdempotent

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

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": "search_library"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "task",
      -  "task-version",
      -  "practice-area",
      -  "obligation",
      -  "jurisdiction",
      -  "software"
      -]New value: +[
      +  "task",
      +  "task-version",
      +  "practice-area",
      +  "obligation",
      +  "jurisdiction",
      +  "software",
      +  "precedent",
      +  "workflow"
      +]
  2. 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 real value by disclosing the return shape — titles, ids, ailawframework.com links and markdown versions. It omits result-limit behavior (the limit parameter caps at 25) and any ranking/relevance semantics.

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 resource, followed by return values. The long enumeration is dense but each listed entity corresponds to an enum value, so it earns its place; no filler.

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?

For a read-only search tool with no output schema, the definition covers both resource scope and return shape (titles, ids, URLs, markdown). The gaps are how to choose this over sibling search tools and what to expect from limit/filter behavior — moderate rather than fatal omissions.

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 coverage is only 33%: 'query' is documented in-schema, but 'kind' and 'limit' are not. The description's list of resource types partially compensates by implying what kind can filter on, but neither the role of 'kind' as a type filter nor the significance of 'limit' is explained. Added value over the schema is marginal.

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 specific verb (searches) and enumerates the resource types covered — practice areas, tasks, jurisdiction versions, jurisdictions, obligations, software profiles, precedents, workflows — which maps closely to the kind enum. It does not distinguish itself from sibling search tools such as search_precedents or find_rules, so an agent cannot tell from the text alone which search 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 Guidelines2/5

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

No when-to-use guidance: nothing says when this broad library search is preferable to search_precedents, find_rules, get_precedent, or get_software_profile. The only implied routing comes from the kind enum in the schema, not from the description.

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