Skip to main content
MCP tasks evaluate an agent’s ability to use tools effectively—calling the right functions with correct parameters to accomplish goals across calendar, email, CRM, filesystem, and other services.

Task Components


Component Details

ENABLED_TOOLS

Defines which tools the agent can access. Constraining tools increases task focus and reduces ambiguity.
Considerations:
  • Include only tools relevant to the task
  • Adding irrelevant tools tests discrimination ability

PROMPT

The natural language instruction given to the agent.
Prompt Design Tips:
  • Be specific about expected outcomes
  • Include implicit constraints (e.g., “during business hours”)

TRAJECTORY

The expected sequence of tool calls (ground truth). Used for trajectory-based evaluation.
Note: Trajectories represent one valid path—agents may complete tasks via different valid sequences.

GTFA_CLAIMS

Ground Truth Factual Assertions that must be present in the agent’s final response.

Example Task Structure

Complete Example


Best Practices

GTFA claims should be specific and unambiguous:❌ “Agent completed the task correctly”✅ “Agent sent email to john@example.com with subject containing ‘Q3 Report’”
Test agent behavior at the edges:
  • What if no results are found?
  • What if multiple matches exist?
  • What if required information is missing?
  • Too few tools: Task may be impossible
  • Too many tools: Agent may get confused
  • Include 1-2 “distractor” tools to test discrimination
Many tasks can be completed different ways. Ensure GTFA claims verify outcomes, not specific tool sequences.
Use data packs that reflect real usage patterns—realistic contact names, plausible email content, believable calendar schedules.

Next Steps

MCP Verifiers

Configure LLM Judge and GTFA evaluation

Website Tasks

Web application task design