Skip to main content
Glama
Arize-ai

@arizeai/phoenix-mcp

Official
by Arize-ai

get-experiment-by-id

Retrieve experiment metadata and results including run outputs and evaluator annotations by providing an experiment ID.

Instructions

Get an experiment by its ID.

The tool returns experiment metadata in the first content block and a JSON object with the experiment data in the second. The experiment data contains both the results of each experiment run and the annotations made by an evaluator to score or label the results, for example, comparing the output of an experiment run to the expected output from the dataset example.

Example usage: Show me the experiment results for experiment RXhwZXJpbWVudDo4

Expected return: Object containing experiment metadata and results.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
experiment_idYes
Behavior4/5

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

No annotations are provided, so the description bears the full burden. It discloses that the tool returns two content blocks: metadata and experiment data with results and evaluator annotations. This gives clear expectations about the output structure. However, it does not cover error states or behavior on missing IDs.

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?

The description is front-loaded with the core purpose, followed by details on return format and an example. It is reasonably concise (about 50 words) but could be tightened by removing the phrase 'for example, comparing the output...' which is explanatory but not essential.

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?

Given the tool's simplicity (one param, no output schema), the description covers the purpose, return structure, and provides a concrete example. It does not address potential errors or edge cases, but for a read-only lookup, this level of detail is adequate.

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

Parameters3/5

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

The input schema has one parameter experiment_id with 0% description coverage. The description does not add a formal parameter description but provides an example ID in the usage section, indicating the expected format. This partially compensates but does not fully explain constraints or valid values.

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?

The description clearly states 'Get an experiment by its ID.' It specifies the resource (experiment) and the action (get by ID), distinguishing it from sibling tools that list experiments or get other entities. The additional details about the return content solidify the purpose.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage when you have an experiment ID, e.g., 'Show me the experiment results for experiment RXhwZXJpbWVudDo4'. However, it does not provide explicit guidance on when to use this tool versus alternatives like get-dataset-experiments or list-experiments-for-dataset. No exclusion criteria or when-not-to-use are given.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Arize-ai/phoenix'

If you have feedback or need assistance with the MCP directory API, please join our Discord server