Skip to main content
Glama

terms

Search clauses

clause_search
Read-onlyIdempotent

Ranked search over clause titles, tags, categories and bodies. Title and tag matches outrank body matches. Jurisdiction filtering is free; the tag filter is Pro and is skipped rather than refusing the search.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNoPro: every tag listed must be present. On free the search still runs, without this filter
queryYesWords to look for, for example 'late payment interest'
categoryNo
jurisdictionNoExact jurisdiction match. Free

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, and non-destructive behavior. The description adds meaningful behavioral context beyond those annotations: title/tag matches outrank body matches, jurisdiction filtering is free, and tag filters are skipped on free plans rather than causing an error.

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 carry all the essential information: what is searched, how results are ranked, and which filters are free or Pro. There is no filler or repetition of schema details.

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, the description covers the searchable fields, ranking, and filter behavior. No output schema exists, so return-value details are not specified, but the essential call semantics are clear. The only notable gap is the meaning of the category parameter.

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

Parameters4/5

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

Schema documentation covers query, tags, and jurisdiction, while category has no schema description. The description enriches query semantics through ranking behavior and explains the practical effect of tag and jurisdiction filters. Category remains underspecified, but the overall parameter guidance is strong.

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?

The description names a specific verb and resource: ranked search across clause titles, tags, categories, and bodies. It also distinguishes the tool by explaining ranking behavior, so an agent can tell it apart from clause_list or clause_get.

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?

The description clearly implies a search use case, but it does not explicitly state when to choose this over clause_list or clause_get. It gives useful context about filters and Pro behavior, but no direct comparison with sibling tools.

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.