Skip to main content
Glama

eval_schedules

List, create, update, delete, or trigger agent evaluation schedules, including run-now execution and cadence-based auto-firing for suite or live-chat evals.

Instructions

agent_eval_schedules CRUD + run-now. action: list | create / update (FULL replace of the schedule's config — mirrors the portal's edit form, which always resubmits every field; pass every field you want kept, not just the ones changing). profile_id, when supplied, DERIVES agent_kind via _sync_agent_kind (overriding any agent_kind also passed) the same way eval_suites binds a profile — a stale/unresolvable profile_id is ignored (falls back to whatever agent_kind was passed, if any) rather than erroring, mirroring the portal's schedule form. source=suite requires suite_id; source=live_chats requires agent_kind (directly or via profile_id) and judge_model — expectations, left blank, default to that agent_kind's standard judge rubric instead of erroring. delete (schedule_id, confirm=true) | fire (schedule_id — runs it now via the same launcher trigger_eval_run uses, then rolls last_run_at/next_run_at forward from cadence). cadence: manual | daily | weekly | monthly (next_run_at is computed from cadence; manual schedules never auto-fire).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>"
    },
    "name": "eval_schedules"
  }
}

Input Schema

NameRequiredDescriptionDefault
envNoConfig branch: which `environment` rows of the AI config DB to read/write. staging = the editable working set (default); prod = what production serves.staging
nameNoSchedule name.
actionYesOperation to run: list | create | update | delete | fire. The tool description lists what each action needs.
sourceNosuite | live_chats.suite
cadenceNomanual | daily | weekly.manual
confirmNofalse (default) = dry run, nothing changes; true = execute.
suite_idNoEval suite UUID (eval_suites action=list).
agent_kindNoAgent kind (derived from profile_id when given).
is_enabledNoWhether the schedule fires automatically.
profile_idNoAgent profile UUID (list_profiles / get_profile).
business_idNoBusiness to run as.
judge_modelNolive_chats: model string of the LLM judge.
sample_sizeNolive_chats: how many chats to sample.
schedule_idNoagent_eval_schedules UUID.
expectationsNolive_chats: rubric the judge grades against.
lookback_daysNolive_chats: how many days of real chats to sample from.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations provided, the description carries the burden well: it warns that update is a FULL replace that will reset unpassed fields, that a supplied profile_id overrides agent_kind, that a stale profile_id is silently ignored rather than erroring, and that manual cadence never auto-fires. It omits permissions/auth requirements, whether delete is recoverable, and the dry-run meaning of confirm (left to the schema).

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

Conciseness3/5

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

Front-loaded correctly, and nearly every clause carries information, but it is one dense run-on paragraph with nested parentheses, making the per-action rules hard to scan. Splitting it into per-action lines would cost nothing and gain a lot.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 16-parameter, annotation-free mutation tool the conditional branches are all covered, and an output schema exists so return values need not be described. Remaining gaps are environmental rather than procedural: no statement of required permissions or side effects on the prod config branch.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so a 3 would be the floor, but the description adds genuine meaning: the precedence of profile_id over agent_kind for deriving agent_kind, which parameters are mandatory under each source branch, the blank-expectations rubric default, and how cadence drives next_run_at. These are conditional interactions the schema cannot express.

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?

Opens with a specific verb+resource pair ('agent_eval_schedules CRUD + run-now') and enumerates the exact action set (list | create / update | delete | fire). It also distinguishes 'fire' from the sibling by noting it runs via 'the same launcher trigger_eval_run uses', so an agent can tell why both exist.

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 per-action conditional requirements: source=suite requires suite_id, source=live_chats requires agent_kind plus judge_model, delete needs confirm=true, and update is a full replace. It never explicitly routes the agent away from this tool toward trigger_eval_run or eval_suites for one-off runs, which keeps it short of a 5.

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