Skip to main content
Glama

list_evaluation_goals

Lists existing Evaluation Goals for a pipeline, oldest first, so you can review pass/fail targets and avoid suggesting duplicates.

Instructions

Lists the Evaluation Goals set on one pipeline, oldest first.

An Evaluation Goal is a pass/fail target on one pipeline, built on one Evaluator's Metric: threshold is the value a Session must reach for a Score Metric, passing_values the labels that count as passing for a Label Metric (exactly one of them is set), and min_pass_rate the share of judged Sessions that must pass for the goal to be met. Call this before suggesting new goals, so goals that already exist are not proposed again. The API has no paging. :param pipeline_name: Name of the pipeline whose goals to list. :returns: The Evaluation Goals, or an error message.

The output is automatically stored and can be referenced in other functions. Returns a formatted preview with an object ID (e.g., @obj_123). Use the object store tools in combination with the object ID to view nested properties of the object. Use the returned object ID to pass this result to other functions.

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": {
      "pipeline_name": "<pipeline_name>"
    },
    "name": "list_evaluation_goals"
  }
}

Input Schema

NameRequiredDescriptionDefault
pipeline_nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.46

TDQS

A4.2/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it states the result ordering, that 'The API has no paging', that failures come back as an error message, and that results are auto-stored behind an object ID with a formatted preview. The pointer to object store tools for nested properties is exactly the kind of non-obvious behavior an agent cannot infer from 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.

Conciseness4/5

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

Key information is front-loaded and the domain explanation of threshold/passing_values/min_pass_rate is genuinely useful. However, the tail repeats the object-ID idea across three sentences ('automatically stored', 'formatted preview with an object ID', 'Use the returned object ID'), which is some redundancy.

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?

No output schema exists, and the description covers return shape at a high level (formatted preview, object ID, nested properties via object store tools) plus the no-paging constraint, which is enough to call it correctly. Field-level detail of each returned goal is left to the object store tooling, which is acceptable but keeps it from a 5.

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

Parameters4/5

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

Schema description coverage is 0% for the single parameter, so the description must compensate, and the ':param pipeline_name:' line supplies its meaning as the pipeline whose goals are listed. That is sufficient for one string parameter but adds no format, case, or lookup hints, so it is not a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opening sentence gives a specific verb and resource ('Lists the Evaluation Goals set on one pipeline') plus an ordering guarantee ('oldest first'). The follow-up defines what an Evaluation Goal is and distinguishes it from an Evaluator's Metric, which helps separate it from siblings like list_evaluators, though no sibling is named explicitly.

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?

Provides a concrete trigger: 'Call this before suggesting new goals, so goals that already exist are not proposed again.' That is real when-to-use guidance rather than implied usage. It does not name a when-not condition or an alternative tool for related lookups, so it stops 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.

Deploy Server

Other Tools