Tools
Everything rulefolio exposes to your AI client: tools, resources and prompts.
Tool docs quality: A — 4 tools graded
Average 85/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: 2
- Grade B: 1
- Grade C: 1
- Grade D: 0
- Grade F: 0
check_invoicetoolSend a UBL Invoice XML slice (at most 60,000 characters) in xml and get back the business terms the slice writes, the field-map gaps, and a stored note when BR-DE-15 finds no non-empty buyer reference (BT-10). No Schema
Description quality grade C, 65/100 · 2 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: not passed0/20
Say what the tool needs, for example “by issue number” or “takes a file path”.
- Explains side effects: not passed0/15
This looks like a write action. Say what changes, and whether it can be undone.
- Gives usage guidance: passed10/10
Includes when or how to use it.
explain_errortoolPaste a rule id or a validator message that quotes one in text, and get back the matching stored rule: statement, plain reading, fix and source URL. text is required.
Description quality grade B, 75/100 · 2 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: not passed0/15
Open with an action verb, for example “Search issues…” or “Creates a label…”.
- 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.
get_ruletoolRead one stored rule by id (such as BR-01 or BR-IC-05): the stored statement, context, test, plain reading, fix and source URL. id is required.
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.
search_rulestoolFind stored rules by query words, a business-term bt code such as BT-24, or a stored group such as payment, totals or reverse-charge. Every argument is optional; at most 100 hits come back, each with the sta
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.