本文へ移動
cccskills
無料GitHub で公開

mcp-agent-evaluation

Use when evaluating MCP-enabled agents, tool-using LLM systems, multi-server workflows, tool-selection quality, trajectory quality, task completion, or MCP security regressions.

インストール方法を見る

含まれるファイル(3)

  • SKILL.md4.7 KB
  • references/benchmark-map.md2.0 KB
  • scripts/mcp_eval_plan.py3.1 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

MCP Agent Evaluation

Use this skill to design practical evaluations for agents that discover, select, and call MCP tools. Focus on whether the agent can solve real tasks with live or simulated toolchains, not only whether it can call a single tool correctly.

Activation Checklist

Activate when the user asks to:

  • Benchmark an MCP client, coding agent, or multi-tool agent
  • Compare models on tool selection, planning, or task completion
  • Build evaluation tasks from real MCP servers
  • Diagnose failed tool-use trajectories
  • Add security or prompt-injection tests around MCP tool metadata and outputs

Evaluation Model

Evaluate at four levels:

  1. Tool discovery - the agent finds relevant tools without being handed exact tool names.
  2. Schema and parameter use - the agent fills arguments correctly, handles optional fields, and respects tool constraints.
  3. Trajectory quality - the agent sequences calls coherently, uses intermediate outputs, and recovers from tool errors.
  4. Outcome quality - the final answer is correct, grounded in tool results, and safe to deliver.

Add a fifth track for security when untrusted tool metadata, retrieved content, or tool outputs can influence future calls.

Workflow

  1. Inventory the environment

    • List MCP servers, tools, schemas, authentication boundaries, side effects, and domain coverage.
    • Mark tools as read-only, write-capable, privileged, networked, or user-data-sensitive.
    • Record which tools are complementary and should be used together.
  2. Create task families

    • Fuzzy lookup: user describes the goal without naming the tool.
    • Multi-hop: success requires two or more dependent calls.
    • Cross-domain: success requires tools from different servers.
    • Error recovery: one call fails or returns incomplete data.
    • Grounding: answer must cite or summarize intermediate tool outputs.
    • Security: malicious descriptions, injected tool output, overbroad scopes, and unsafe write attempts.
  3. Define scoring before running agents

    • Use binary pass/fail for critical outcomes.
    • Use graded rubrics for trajectory, grounding, and recovery.
    • Separate model failures from harness failures and unavailable tools.
    • Store full trajectories, not just final answers.
  4. Run minimal baselines

    • Single explicit tool task.
    • Single server multi-step task.
    • Multi-server task with fuzzy instructions.
    • Security canary task where the correct behavior is refusal, confirmation, or sandboxing.
  5. Analyze failure modes

    • Wrong tool chosen
    • Correct tool with wrong arguments
    • Correct calls but poor state tracking
    • Ungrounded final answer
    • Unsafe trust in tool metadata or output
    • Excessive retries or runaway tool loops

Rubric

DimensionPass SignalFailure Signal
Tool retrievalRelevant tools selected from vague requestAgent ignores available tools or picks lexical near misses
Schema useRequired and optional fields are validHallucinated fields, invalid enum values, missing constraints
PlanningCalls are ordered by dependencyCalls are redundant, circular, or skip prerequisite data
GroundingFinal answer reflects tool outputsFinal answer invents results or ignores returned evidence
RecoveryAgent adapts to errors or ambiguityAgent repeats the same failed call
SafetySide effects are gated and instructions are isolatedTool output or metadata overrides user/system intent

Helper Script

Use mcp_eval_plan.py to turn a server/task inventory into a Markdown evaluation plan:

python scripts/mcp_eval_plan.py inventory.json

The input may contain domains, servers, task_families, and risks. Missing fields use conservative defaults.

References

Read benchmark-map.md before designing a new benchmark suite or choosing which public MCP benchmark to mirror.

External grounding:

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Use when long-lived agents, project memories, system prompts, or playbooks are repeatedly summarized, rewritten, or optimized and risk losing domain detail, provenance, or execution learnings.

日本語の概要は準備中です。原文の説明を表示しています。

mouadja02/skills102026年10月16日 更新

Use this skill when the user explicitly asks to map, document, or onboard into an existing codebase. Trigger for prompts like "map this codebase", "document this architecture", "onboard me to this repo", or "create codebase docs". Do not trigger for routine feature implementation, bug fixes, or narrow code edits unless the user asks for repository-level discovery.

日本語の概要は準備中です。原文の説明を表示しています。

mouadja02/skills102026年10月16日 更新

Adds educational comments to a code file so it becomes a learning resource, asking for the file (with a list of close matches) if none is given. Use when preparing code for learners, onboarding, or teaching.

日本語の概要は準備中です。原文の説明を表示しています。

mouadja02/skills102026年10月16日 更新

Write, debug, and optimize Adobe Illustrator automation scripts using ExtendScript (JavaScript/JSX). Use when creating or modifying scripts that manipulate documents, layers, paths, text frames, colors, symbols, artboards, or any Illustrator DOM objects. Covers the complete JavaScript object model, coordinate system, measurement units, export workflows, and scripting best practices.

日本語の概要は準備中です。原文の説明を表示しています。

mouadja02/skills102026年10月16日 更新

Patterns and techniques for adding governance, safety, and trust controls to AI agent systems. Use this skill when: - Building AI agents that call external tools (APIs, databases, file systems) - Implementing policy-based access controls for agent tool usage - Adding semantic intent classification to detect dangerous prompts - Creating trust scoring systems for multi-agent workflows - Building audit trails for agent actions and decisions - Enforcing rate limits, content filters, or tool restrictions on agents - Working with any agent framework (PydanticAI, CrewAI, OpenAI Agents, LangChain, AutoGen)

日本語の概要は準備中です。原文の説明を表示しています。

mouadja02/skills102026年10月16日 更新

Check any AI agent codebase against the OWASP Agentic Security Initiative (ASI) Top 10 risks. Use this skill when: - Evaluating an agent system's security posture before production deployment - Running a compliance check against OWASP ASI 2026 standards - Mapping existing security controls to the 10 agentic risks - Generating a compliance report for security review or audit - Comparing agent framework security features against the standard - Any request like "is my agent OWASP compliant?", "check ASI compliance", or "agentic security audit"

日本語の概要は準備中です。原文の説明を表示しています。

mouadja02/skills102026年10月16日 更新

mouadja02 のスキルをすべて見る

このスキルの問題を報告する