freeplay-mcp
v0.0.6A Model Context Protocol server for Freeplay, the ops platform for AI engineering teams
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_projects
List all Freeplay projects accessible to the authenticated user. This is a read-only operation. Returns a formatted list of projects with their IDs and names. Start here for most workflows. Use a project ID from this list to scope most other Freeplay operations.
search
Search observability data in a Freeplay project. This is a read-only operation. Returns sessions, traces, or completions matching the given filters. - **Sessions** are top-level containers that group related traces and completions, representing a complete user interaction, conversation, or agent run. - **Traces** group related completions and tool calls within a session, representing a functional unit of work such as a single agent run or workflow step. - **Completions** are individual LLM calls with their inputs, outputs, and metadata. ## Filter syntax The `filters` parameter accepts…
| Parameter | Type | Description |
|---|---|---|
project_id * | string | |
result_type * | string | |
filters | ||
limit | integer | |
offset | integer |
list_prompt_templates
List all prompt templates in a Freeplay project. This is a read-only operation. Returns a list of prompt templates with their IDs, names, and latest version info. Use the template name or ID when creating new versions. Args: project_id: The Freeplay project ID (required) limit: Maximum number of results to return (default: 50) offset: Number of results to skip for pagination (default: 0)
| Parameter | Type | Description |
|---|---|---|
project_id * | string | |
limit | integer | |
offset | integer |
get_prompt_version
Get the full contents of a prompt template version. This is a read-only operation. Returns the complete prompt template configuration including messages, model, provider, and LLM parameters. Use this to inspect a version before making changes. Args: project_id: The Freeplay project ID template_id: The prompt template ID version_id: The version ID to retrieve
| Parameter | Type | Description |
|---|---|---|
project_id * | string | |
template_id * | string | |
version_id * | string |
create_prompt_version
Create a new version of a prompt template. This is a write operation. Always confirm with the user before calling — describe which prompt template will be modified, the model and provider, and whether a new template will be created. If the template doesn't exist and create_if_not_exists is True, the template will be created automatically. Note: Deployment is not supported via MCP at this time to reduce risk of unintentional changes. Use the Freeplay UI to deploy versions to environments. Args: project_id: The Freeplay project ID (required) template_name: Name of the prompt templat…
| Parameter | Type | Description |
|---|---|---|
model * | string | |
project_id * | string | |
prompt_messages * | string | |
provider * | string | |
template_name * | string | |
create_if_not_exists | boolean | |
llm_parameters | ||
output_schema | ||
tool_schema | ||
version_description | ||
version_name |
get_deployed_prompt_versions
Get deployment status for a prompt template showing which versions are deployed to each environment. This is a read-only operation. Returns which prompt template versions are currently deployed to all environments (dev, staging, production, and any custom environments). Args: project_id: The Freeplay project ID (required) template_name: The name of the prompt template (required)
| Parameter | Type | Description |
|---|---|---|
project_id * | string | |
template_name * | string |
find_logging_issues
Analyze recent completions for a prompt template and identify missing logged fields. This is a read-only analysis operation. Fetches recent completions and checks which important fields are not being logged. Returns a list of missing fields with explanations and fix suggestions. Use this to identify gaps in your observability instrumentation. Args: project_id: The Freeplay project ID template_name: Optional prompt template name to filter by. If not provided, analyzes all completions and checks for missing prompt template associations. environment: Optional environment fil…
| Parameter | Type | Description |
|---|---|---|
project_id * | string | |
environment | ||
limit | integer | |
template_name |
list_insights
List insights for a Freeplay project. This is a read-only operation. Retrieve a paginated list of insights. Insights are automatically generated observations about patterns in your production data, surfacing actionable themes from auto-evaluation scores on logs and from human annotations. Filter by prompt template or agent to see specific insights for each component. Args: project_id: The Freeplay project ID (required) page: Page number for pagination (default: 1) page_size: Number of insights per page (default: 30) prompt_template_id: Filter insights by prompt template UUID…
| Parameter | Type | Description |
|---|---|---|
project_id * | string | |
agent_id | ||
page | integer | |
page_size | integer | |
prompt_template_id |
optimize_prompt
Optimize a prompt template version using AI-powered analysis and automated experimentation. This is a write operation that creates a new prompt template version. Always confirm with the user before calling this tool — describe which prompt template will be optimized, the dataset being used, and that this may incur LLM costs. Analyzes the prompt template version against scored examples from production logs and generates an improved version with guidance from the user on where to focus. The optimization considers human evaluation labels, customer feedback, and best practices based on the flag…
| Parameter | Type | Description |
|---|---|---|
dataset_id * | string | |
project_id * | string | |
prompt_template_version_id * | string | |
run_test_after_optimization | boolean | |
use_best_practices | boolean | |
use_customer_feedback | boolean | |
use_labels | boolean | |
user_instructions |