Tools
Everything lawclause exposes to your AI client: tools, resources and prompts.
Tool docs quality: A — 4 tools graded
Average 95/100 for how clearly each description tells an AI client what the tool does, what it needs, and what it changes. It is not a security audit.
- Grade A: 4
- Grade B: 0
- Grade C: 0
- Grade D: 0
- Grade F: 0
get_clausetoolRead one clause by its canonical key, such as gdpr:art-17:para-1, with where it sits and what sits beneath it. key is required; wholesubtree returns the clause with everything beneath it in reading order.
Description quality grade A, 100/100
- Has a description: passed20/20
The tool has a description an AI client can read.
- Sensible length: passed20/20
Length is in a useful range.
- Starts with what it does: passed15/15
Opens with an action verb.
- Mentions its inputs: passed20/20
The description mentions what the tool takes.
- Explains side effects: passed15/15
Looks read-only, so no disclosure is required. Saying “read-only” still helps.
- Gives usage guidance: passed10/10
Includes when or how to use it.
get_documenttoolRead one document and its top-level structure, without the text. slug is required, such as gdpr. The outline shows where to find a clause key; read the words themselves with getclause.
Description quality grade A, 100/100
- Has a description: passed20/20
The tool has a description an AI client can read.
- Sensible length: passed20/20
Length is in a useful range.
- Starts with what it does: passed15/15
Opens with an action verb.
- Mentions its inputs: passed20/20
The description mentions what the tool takes.
- Explains side effects: passed15/15
Looks read-only, so no disclosure is required. Saying “read-only” still helps.
- Gives usage guidance: passed10/10
Includes when or how to use it.
list_documentstoolList the laws this community version can cite, and which version of each is in force. No required parameters; limit, offset and asof page and date-filter the listing.
Description quality grade A, 90/100 · 1 to fix
- Has a description: passed20/20
The tool has a description an AI client can read.
- Sensible length: passed20/20
Length is in a useful range.
- Starts with what it does: passed15/15
Opens with an action verb.
- Mentions its inputs: passed20/20
The description mentions what the tool takes.
- Explains side effects: passed15/15
Looks read-only, so no disclosure is required. Saying “read-only” still helps.
- Gives usage guidance: not passed0/10
Add when to use it, what it requires, or what to use instead.
search_policiestoolSearch the privacy law this community version holds. query is required. Call it before writing or changing code that collects, stores, logs, shares or deletes personal data, and before answering a question about what th
Description quality grade A, 90/100 · 1 to fix
- Has a description: passed20/20
The tool has a description an AI client can read.
- Sensible length: passed20/20
Length is in a useful range.
- Starts with what it does: passed15/15
Opens with an action verb.
- Mentions its inputs: passed20/20
The description mentions what the tool takes.
- Explains side effects: passed15/15
Looks read-only, so no disclosure is required. Saying “read-only” still helps.
- Gives usage guidance: not passed0/10
Add when to use it, what it requires, or what to use instead.