Skip to main content
Glama
Axiomatic-AI

axiomatic-mcp

Official
by Axiomatic-AI

AxModelFitterV2_generate_code

Generate Python code to fit a parametric model to data using JAX. Describe the model and data; receive executable code and an explanation of the fitting approach.

Instructions

Generate Python code to fit a parametric model to data using the ax_core.model_fitter JAX library. Describe the model, the data, and what you want to fit. Returns executable code and an explanation of the approach. The code must be executed separately using the execute_code tool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
problem_descriptionYesNatural language description of the model and data to fit
Behavior3/5

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

With no annotations provided, the description must handle behavioral disclosure. It correctly states the tool returns executable code and an explanation, and mandates separate execution. However, it does not mention side effects, permissions, or safety characteristics (e.g., read-only nature).

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

Conciseness5/5

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

Two sentences covering purpose, usage, and dependency on another tool. No redundant information; every sentence adds value. Front-loaded with the core action.

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?

The description covers the input parameter and the follow-up action (execute_code). It lacks details about return format, error handling, or example usage, but given the simple single-parameter input and no output schema, it is mostly sufficient for an agent to invoke the tool correctly.

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?

Schema coverage is 100% for the single parameter. The description adds that the parameter is a natural language description of the model, data, and fitting goal, which largely echoes the schema description. It provides no additional syntax or constraints beyond the schema.

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 the tool generates Python code to fit a parametric model using a specific JAX library, with a specific verb ('generate') and resource ('code'). It distinguishes from siblings like AxModelFitter_fit_model (which actually fits the model) and AxArgmin_generate_code (for argmin).

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 tells the user to describe the model, data, and fitting goal, and mentions that the code must be executed separately with execute_code. However, it does not explicitly contrast with alternatives (e.g., when to use this vs. AxModelFitter_fit_model), relying on implied context.

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/Axiomatic-AI/ax-mcp'

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