Skip to main content
Glama

translate_to_mrgsolve

Convert NONMEM control streams to mrgsolve model code for pharmacokinetic simulations, handling ADVAN routines, parameters, and model blocks.

Instructions

Translate a NONMEM control stream (.ctl/.mod) to mrgsolve model code. Handles ADVAN1-13, THETAs, OMEGAs, $PK, $DES, $ERROR.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ctl_pathYesPath to NONMEM control stream
output_pathNoWhere to save the mrgsolve .mod file (optional)
parameter_valuesNoOverride parameter values (e.g., from .ext final estimates)

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/sueinchoi/nonmem-mcp-server'

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