Establish an Automated LLM-as-a-Judge Rubric for Tool Calls
Create a structured 1-to-5 grading rubric to verify the accuracy, necessity, and completeness of multi-step AI tool calls.
Agent prompt for Claude and ChatGPT
Prompt
mkdir -p .agents/skills/establish-an-automated-llm-as-a-judge-rubric-for-tool-calls && curl -sL "https://prompts-gpt.com/prompts/establish-an-automated-llm-as-a-judge-rubric-for-tool-calls/raw" -o .agents/skills/establish-an-automated-llm-as-a-judge-rubric-for-tool-calls/SKILL.md---
name: establish-an-automated-llm-as-a-judge-rubric-for-tool-calls
description: "Create a structured 1-to-5 grading rubric to verify the accuracy, necessity, and completeness of multi-step AI tool calls."
---
# Establish an Automated LLM-as-a-Judge Rubric for Tool Calls
Create a structured 1-to-5 grading rubric to verify the accuracy, necessity, and completeness of multi-step AI tool calls.
## Prompt
```
Act as an AI quality assurance engineer. Create a 1-to-5 point scoring rubric to evaluate logs where an AI model makes tool calls. Apply these rules: 1. Assign a 5 for perfect execution where every argument is valid and the goal is met. 2. Assign a 1 if the model makes an unnecessary or hallucinated tool call. 3. Include a binary check for missing required follow-up calls. 4. Ensure every score level includes a specific condition regarding parameter format. 5. Output a structured grading table. Output format: 1. Scoring Rubric (Table: Score, Criteria, Penalty). 2. Evaluation Checklist (Numbered list of binary checks). 3. Scoring Logic (Summary of when to trigger a failure). This is not a substitute for human oversight in critical production environments; consult a senior engineer for safety-critical systems. Wait for me to paste the tool call logs.
```
## Usage Notes
Use this to build an evaluation framework for your agentic workflows. Paste your raw JSON or text logs of tool calls into ChatGPT, Claude, or Gemini after the prompt to receive an automated audit of your agent's performance.
Act as an AI quality assurance engineer. Create a 1-to-5 point scoring rubric to evaluate logs where an AI model makes tool calls. Apply these rules: 1. Assign a 5 for perfect execution where every argument is valid and the goal is met. 2. Assign a 1 if the model makes an unnecessary or hallucinated tool call. 3. Include a binary check for missing required follow-up calls. 4. Ensure every score level includes a specific condition regarding parameter format. 5. Output a structured grading table. Output format: 1. Scoring Rubric (Table: Score, Criteria, Penalty). 2. Evaluation Checklist (Numbered list of binary checks). 3. Scoring Logic (Summary of when to trigger a failure). This is not a substitute for human oversight in critical production environments; consult a senior engineer for safety-critical systems. Wait for me to paste the tool call logs.Example output
Tips and common edits
Why this works
- Forces binary checks to reduce subjectivity in agent evaluation.
- Uses a clear penalty system to highlight critical failures like hallucinations.
- Categorizes tool usage by both syntax correctness and logical workflow completeness.
Use this to build an evaluation framework for your agentic workflows. Paste your raw JSON or text logs of tool calls into ChatGPT, Claude, or Gemini after the prompt to receive an automated audit of your agent's performance.
Common edits
- Adjust the penalty points if your specific agent is more prone to minor syntax errors versus logical errors.
- Add a row to the rubric for latency thresholds if your agent needs to perform within specific time limits.
Reuse it: Use in a workflowAdapt in the builder
Prompt details
- By
- Prompts-GPT editors
- Published
Did this prompt work?
More like this
Audit Agent Tool Definitions to Fix Routing Errors
This prompt analyzes your AI agent tool descriptions to eliminate overlap, define clear boundaries, and prevent incorrect tool routing by adding explicit anti-use guidance.
Generate Adversarial Evaluation Transcripts for AI Agents
Create three distinct multi-turn conversation logs designed to test your AI agent for social engineering, tool hallucination, and silent goal drift.
Red Team Agent System Prompts for Injection Vulnerabilities
Assess the security of your agent system prompt against five common indirect prompt injection vectors using a structured risk analysis table.
Model Tier Budget and Latency Breakdown for Multi-Turn Agents
Generates a structured cost and p95 latency trade-off table across small, mid-tier, and flagship models based on context accumulation across multi-turn agent runs.
Should This Be an Agent? Single Agent, Workflow or Plain Script Decision
Scores a task you want to automate on variability, tool needs, error tolerance and cost, then recommends a plain script, a fixed LLM workflow, a single agent or multi-agent, with the cheapest first build.
Tool Permission Matrix and Function Spec for a Tool-Using Agent
Produces a least-privilege tool inventory, function definitions, and approval rules for an agent that calls APIs or internal systems.
- Design an AI Agent With Tools, Guardrails and Eval Cases Before You Build It
- 20-Case Agent Eval Set with Pass/Fail Rubric for Normal, Edge and Unsafe Requests
- Agent Tool Names, Descriptions and JSON Schemas from API Docs
- Agent Workflow Decomposition with Autonomy Levels and Stop Rules
- Draft Input Sanitization Rules for AI Agents
- Incident Recovery Playbook for Rogue AI Agent Loops