Skip to main content
Glama

suggest criteria

suggest_criteria

Turn written failure critiques into up to five draft judge criteria for review. Use after grading fails with reasons to bootstrap criteria you can align and approve.

Instructions

Clusters the workspace's written failure critiques into up to 5 DRAFT judge criteria, one per failure mode — use it after grading a batch of fails with reasons to bootstrap criteria you then review and align. POST /v1/criteria/suggest (API-key scope: evals:write). SPENDS MONEY: this starts billable work on the workspace wallet. Returns: { created: [<criterion objects, same snake_case shape as GET /v1/criteria: id, name, description, judge_prompt, judge_model, status ('draft'), source ('assist_suggested'), unit, population, population_family, online_*, tier, trust, fail_grades_needed, pass_grades_needed, tpr_ci, tnr_ci, drift_*, tpr, tnr, kappa, alignment_n, aligned_at, created_at>], critiques_used: , skipped_duplicates: <int, proposed drafts whose name already existed> }. Notes: A body-less POST (or invalid JSON) is valid and uses the default judge — there is no 400 for a missing body. Requires an OWNER/ADMIN minting user (403). 400 when fewer than 10 FAIL grades carry a critique (message includes the current count); only the 200 most recent critiques are considered. 400 if the model returns no parseable JSON array ('try again'). SPENDS THE WALLET: one metered clustering call (billed under assist:suggest). Drafts are never trusted by any gate until a human reviews them and runs an alignment; an existing criterion with the same name is skipped, never overwritten. Function maxDuration is 300s.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
judge_modelNoModel used for the single clustering call (and set as judge_model on every draft). Defaults to the platform's recommended judge (Qwen/Qwen3-235B-A22B-Instruct-2507). Must be a model available in the workspace's playground catalog, else 400. Whitespace-only values fall back to the default.
Install Server

TDQS

A4.4/5.0
Behavior5/5

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

Extremely rich for a tool whose annotations only state readOnly=false, openWorld=true, idempotent=false, destructive=false. The description discloses billing (SPENDS MONEY, billed under assist:suggest), auth requirements (OWNER/ADMIN, evals:write scope), error conditions (400s with counts), the valid body-less POST, dedup behavior (same-name skipped, never overwritten), the trust model (drafts never gated until human review), and maxDuration 300s. No contradiction with annotations — readOnly=false and idempotent=false align with a billable draft-creating call.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Information-dense and front-loaded: the core purpose leads, followed by endpoint/scope, cost warning, return shape, and edge cases. Every sentence earns its place. The only minor redundancy is the billing warning appearing twice ('SPENDS MONEY' and 'SPENDS THE WALLET'), which can be read as deliberate emphasis on a critical fact.

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?

No output schema exists, so the description carries the full burden of explaining return values — and does so exhaustively, including the exact criterion object shape plus critiques_used and skipped_duplicates. Prerequisites, failure modes, auth, timeout, and the dedup/trust behavior are all covered. Nothing essential is missing for an agent to invoke this correctly.

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% — judge_model is fully documented with its default model, the playground-catalog requirement, and whitespace-only fallback. The description adds the body-less POST default-judge behavior, but since the schema already carries the parameter meaning, the baseline 3 is appropriate.

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 (clusters), resource (failure critiques → up to 5 DRAFT judge criteria, one per failure mode), and the workflow position (after grading fails with reasons). The draft/assist-suggested nature clearly distinguishes it from siblings like create_criterion, update_criterion, and auto_improve_criterion without needing to open their schemas.

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

Usage Guidelines4/5

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

Gives clear context: use it after grading a batch of fails with reasons to bootstrap criteria that are then reviewed and aligned. It also states the prerequisite (≥10 FAIL grades with critiques, only the 200 most recent considered) and follow-up workflow. However, it never explicitly names alternatives such as create_criterion for hand-writing a single criterion or run_criterion_alignment for the post-draft step.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/omnia-v/errorbar-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server