mesa_avu_from_term
Converts an OLS term and user value into a canonical iRODS AVU triple with attribute, value, and CURIE unit, without writing to iRODS.
Instructions
Pure transformation: turn an OLS term + user value into the canonical AVU triple (attribute='.<snake_case_label>', value=, unit=) without writing to iRODS.
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": {
"ontology_id": "<ontology_id>",
"value": "<value>"
},
"name": "mesa_avu_from_term"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iri | No | Full IRI of the term to use. Either ``iri`` or ``curie`` must be supplied, alongside ``label`` if you want to skip the OLS lookup. | |
| curie | No | Term CURIE (e.g. 'ENVO:00000428') — used directly as the AVU unit. | |
| label | No | Term label. If omitted, mesa-mcp fetches it from OLS using ``ontology_id`` + ``iri``. | |
| value | Yes | User-supplied AVU value. Often the term label, but free-form. | |
| ontology_id | Yes | Ontology identifier (e.g. 'envo'). |