Tools
Everything Foundry Api Bridge Module exposes to your AI client: tools, resources and prompts.
Tool docs quality: C — 3 tools graded
Average 67/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: 0
- Grade B: 2
- Grade C: 1
- Grade D: 0
- Grade F: 0
docstoolReference for the foundry.* API used in query and execute scripts. No arguments: the index — every domain with its methods; 🔒 marks methods above your tier. With domain (e.g. "actors"): the TypeScript declarations of that domain with param
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.
executetoolRun a script against the connected Foundry world with the full foundry.* API — reads, writes and deletes. `code` is the body of an async function (see docs): call foundry. . ({ ... }), use await, console.log, and return what you want back (
Description quality grade C, 55/100 · 3 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: not passed0/10
Add when to use it, what it requires, or what to use instead.
querytoolRun a read-only script against the connected Foundry world. `code` is the body of an async function: call foundry. . ({ ... }) (see docs), use await, console.log, and return the value you want back (JSON, size-limited). Only read methods ar
Description quality grade B, 70/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: passed15/15
The description says what the tool changes.
- Gives usage guidance: not passed0/10
Add when to use it, what it requires, or what to use instead.