Skip to main content
Glama

LegalAIMCP Directory

Recommend legal AI tools for a firm

recommend_legal_ai_tools
Read-onlyIdempotent

Rank legal AI tools by fit for a specific practice area and firm size, with a score and the matched factors behind it. Use this instead of search_legal_ai_tools when someone describes their firm (e.g. "solo family law practice" or "20-attorney litigation firm") and wants a recommendation, not just a list.

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": {
      "practice_area": "<practice_area>",
      "firm_size": "<firm_size>"
    },
    "name": "recommend_legal_ai_tools"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of recommendations to return (1-5, default 5)
firm_sizeYesFirm size: solo, small (2-10 attorneys), mid (11-50), or large (50+)
practice_areaYesPractice-area category slug — get slugs from list_legal_ai_categories

Output Schema

NameRequiredDescriptionDefault
countYesNumber of recommendations returned
recommendationsYesRanked highest-fit first. Empty when nothing in the directory matched either input.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / recommendations / items / properties / verification_summary
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Independence, check date and counts by result. Call get_legal_ai_tool for the checks and how to repeat each one.",
      +  "properties": {
      +    "checked_at": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "checks_by_result": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "fail": {
      +          "type": "number"
      +        },
      +        "pass": {
      +          "type": "number"
      +        },
      +        "unknown": {
      +          "type": "number"
      +        },
      +        "warn": {
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "pass",
      +        "warn",
      +        "fail",
      +        "unknown"
      +      ],
      +      "type": "object"
      +    },
      +    "full_record_tool": {
      +      "description": "Call this tool with the slug to get the checks and how to repeat them.",
      +      "type": "string"
      +    },
      +    "independent": {
      +      "const": true,
      +      "type": "boolean"
      +    },
      +    "method_url": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "independent",
      +    "checked_at",
      +    "checks_by_result",
      +    "method_url",
      +    "full_record_tool"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / recommendations / items / required
      Previous value: -[
      -  "slug",
      -  "name",
      -  "tagline",
      -  "category",
      -  "category_label",
      -  "pricing_model",
      -  "pricing_details",
      -  "links_verified",
      -  "links_verified_at",
      -  "website",
      -  "repo",
      -  "install_command",
      -  "maker",
      -  "listing_url",
      -  "source_review",
      -  "connection",
      -  "score",
      -  "matched_factors",
      -  "pricing_note"
      -]New value: +[
      +  "slug",
      +  "name",
      +  "tagline",
      +  "category",
      +  "category_label",
      +  "pricing_model",
      +  "pricing_details",
      +  "links_verified",
      +  "links_verified_at",
      +  "website",
      +  "repo",
      +  "install_command",
      +  "maker",
      +  "listing_url",
      +  "source_review",
      +  "connection",
      +  "verification_summary",
      +  "score",
      +  "matched_factors",
      +  "pricing_note"
      +]
  2. Changed16 schema fields changed
    • removedOutput schema / properties / recommendations / items / properties / install_command / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / recommendations / items / properties / install_command / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / recommendations / items / properties / links_verified_at / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / recommendations / items / properties / links_verified_at / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / recommendations / items / properties / maker / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / recommendations / items / properties / maker / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / recommendations / items / properties / pricing_details / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / recommendations / items / properties / pricing_details / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / recommendations / items / properties / pricing_note / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / recommendations / items / properties / pricing_note / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / recommendations / items / properties / repo / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / recommendations / items / properties / repo / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / recommendations / items / properties / tagline / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / recommendations / items / properties / tagline / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / recommendations / items / properties / website / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / recommendations / items / properties / website / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  3. Changed2 schema fields changed
    • addedOutput schema / properties / recommendations / items / properties / source_review
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "customer_account_tested": {
      +          "const": false,
      +          "type": "boolean"
      +        },
      +        "reviewed_at": {
      +          "type": "string"
      +        },
      +        "scope": {
      +          "const": "public_documentation",
      +          "type": "string"
      +        },
      +        "source_urls": {
      +          "items": {
      +            "format": "uri",
      +            "type": "string"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "reviewed_at",
      +        "source_urls",
      +        "scope",
      +        "customer_account_tested"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Dated primary-source review for the matching published claims. This is not a runtime, security or legal-output test."
      +}
    • changedOutput schema / properties / recommendations / items / required
      Previous value: -[
      -  "slug",
      -  "name",
      -  "tagline",
      -  "category",
      -  "category_label",
      -  "pricing_model",
      -  "pricing_details",
      -  "links_verified",
      -  "links_verified_at",
      -  "website",
      -  "repo",
      -  "install_command",
      -  "maker",
      -  "listing_url",
      -  "connection",
      -  "score",
      -  "matched_factors",
      -  "pricing_note"
      -]New value: +[
      +  "slug",
      +  "name",
      +  "tagline",
      +  "category",
      +  "category_label",
      +  "pricing_model",
      +  "pricing_details",
      +  "links_verified",
      +  "links_verified_at",
      +  "website",
      +  "repo",
      +  "install_command",
      +  "maker",
      +  "listing_url",
      +  "source_review",
      +  "connection",
      +  "score",
      +  "matched_factors",
      +  "pricing_note"
      +]
  4. Changed2 schema fields changed
    • addedOutput schema / properties / recommendations / items / properties / connection
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "customer_account_tested": {
      +          "const": false,
      +          "type": "boolean"
      +        },
      +        "documentation_reviewed_at": {
      +          "type": "string"
      +        },
      +        "permissions": {
      +          "type": "string"
      +        },
      +        "requirements": {
      +          "type": "string"
      +        },
      +        "setup": {
      +          "type": "string"
      +        },
      +        "source_url": {
      +          "format": "uri",
      +          "type": "string"
      +        },
      +        "type": {
      +          "enum": [
      +            "official",
      +            "community"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "type",
      +        "source_url",
      +        "documentation_reviewed_at",
      +        "requirements",
      +        "permissions",
      +        "setup",
      +        "customer_account_tested"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Reviewed setup documentation, not a compatibility or security test. Null means no reviewed setup guide is attached, not that a connector cannot exist."
      +}
    • changedOutput schema / properties / recommendations / items / required
      Previous value: -[
      -  "slug",
      -  "name",
      -  "tagline",
      -  "category",
      -  "category_label",
      -  "pricing_model",
      -  "pricing_details",
      -  "links_verified",
      -  "links_verified_at",
      -  "website",
      -  "repo",
      -  "install_command",
      -  "maker",
      -  "listing_url",
      -  "score",
      -  "matched_factors",
      -  "pricing_note"
      -]New value: +[
      +  "slug",
      +  "name",
      +  "tagline",
      +  "category",
      +  "category_label",
      +  "pricing_model",
      +  "pricing_details",
      +  "links_verified",
      +  "links_verified_at",
      +  "website",
      +  "repo",
      +  "install_command",
      +  "maker",
      +  "listing_url",
      +  "connection",
      +  "score",
      +  "matched_factors",
      +  "pricing_note"
      +]
  5. Changed2 schema fields changed
    • addedOutput schema / properties / recommendations / items / properties / pricing_note
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Informational only, never affects rank: paid/contact tiers often bundle dedicated support that a free/freemium pick may not. Ties are broken by cost alone — this lets the requester weigh support separately."
      +}
    • changedOutput schema / properties / recommendations / items / required
      Previous value: -[
      -  "slug",
      -  "name",
      -  "tagline",
      -  "category",
      -  "category_label",
      -  "pricing_model",
      -  "pricing_details",
      -  "links_verified",
      -  "links_verified_at",
      -  "website",
      -  "repo",
      -  "install_command",
      -  "maker",
      -  "listing_url",
      -  "score",
      -  "matched_factors"
      -]New value: +[
      +  "slug",
      +  "name",
      +  "tagline",
      +  "category",
      +  "category_label",
      +  "pricing_model",
      +  "pricing_details",
      +  "links_verified",
      +  "links_verified_at",
      +  "website",
      +  "repo",
      +  "install_command",
      +  "maker",
      +  "listing_url",
      +  "score",
      +  "matched_factors",
      +  "pricing_note"
      +]
  6. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world, non-destructive, so safety context is covered. The description adds that output is scored and includes the matched factors behind each ranking, which helps interpret results; it does not detail which factors are weighed, so the behavioral picture is useful but not complete.

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 sentences, zero filler, with the verb-and-scope statement front-loaded and the disambiguation against the sibling trailing as a routing clause. Every clause carries information.

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?

An output schema exists, so return values need not be spelled out, and all three parameters are fully documented in the schema. Combined with annotations and explicit sibling routing, nothing an agent needs to call this correctly 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 coverage is 100% and the schema already explains the firm_size enum bands, practice_area slugs, and the 1-5 limit. The description only references practice area and firm size conceptually, adding no syntax or constraint detail beyond the structured fields, so the baseline of 3 applies.

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 ("Rank") plus resource ("legal AI tools") plus the ranking axis (fit for practice area and firm size) and the return payload (score and matched factors). An agent can distinguish this from search_legal_ai_tools or get_legal_ai_tool from the description alone.

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

Usage Guidelines5/5

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

Explicitly names the alternative (search_legal_ai_tools) and the condition that selects this tool: the user describes their firm and wants a recommendation rather than a list. Two concrete example phrasings ("solo family law practice", "20-attorney litigation firm") make the trigger 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