Skip to main content
Glama

Model versions and plugins

model

List, describe, estimate, backtest, and report base macro paths; manage satellite assignments and declared input answers, and inspect installed plugins.

Instructions

Model versions and plugins. kind: macro, satellites, inputs, catalog.

The episode check of the models is backtest (python -m mst.metrics). Actions for macro: list, describe, base, estimate, backtest; for satellites: list, describe, estimate; for catalog: list, the installed model plugins. base gives p5, p50 and p95 of the macro variables under the base s_0 by month, up to horizon, in the model scale, for only the variables named; it starts no job. model_id names the macro model to estimate or backtest — the only one installed when omitted; assignment maps a quantity to the satellite model that estimates it in an estimate of the satellites, overriding the model that declares it. version is the version hash describe and base read and the macro version the satellites of an estimate are built on; list takes no version.

inputs is the elicitation a model that declares inputs is estimated from; the elicit tool serves the same four actions and is the one to call when the user asks for the answers of a model's questions. list and status name every key written or missing, question gives the text the agent reads before answering and write checks the answer's form and stores it. The inputs are written by the agent itself and no human approves them — read guide(name="model-inputs") first — and model_id and as_of name the model and the date; a refused answer comes back with the field it was refused for.

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": {
      "kind": "<kind>",
      "action": "<action>"
    },
    "name": "model"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNoThe input key question and write read: one of the keys a model declares for the date.
kindYesWhat to work with: macro versions, satellite bundles, the inputs a model declares (the answers the agent writes), or the catalog of installed plugins.
onlyNoThe macro variables backtest limits itself to, and the ones base reports; all when omitted.
as_ofNoThe date estimate and backtest work as of, YYYY-MM-DD: only data published by then enters.
actionYesWhat to do. macro: list, describe, base, estimate, backtest; satellites: list, describe, estimate; inputs: list, question, write, status; catalog: list.
horizonNoHow many months of the base paths base reports.
payloadNoThe answer write checks and stores, as the question's schema asks.
versionNoThe version hash: what describe and base read, and the macro version the satellites of an estimate are built on.
model_idNoThe macro plugin estimate and backtest run; the only one installed when omitted.
assignmentNoA mapping of a quantity to the satellite plugin that estimates it, e.g. {"bond_spread": "hier.gibbs"}, overriding the plugin that declares it.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changedv1.0.2
    • addedInput schema / properties / action / description
      Added value: +"What to do. macro: list, describe, base, estimate, backtest; satellites: list, describe, estimate; inputs: list, question, write, status; catalog: list."
    • addedInput schema / properties / as_of / description
      Added value: +"The date estimate and backtest work as of, YYYY-MM-DD: only data published by then enters."
    • addedInput schema / properties / assignment / description
      Added value: +"A mapping of a quantity to the satellite plugin that estimates it, e.g. {\"bond_spread\": \"hier.gibbs\"}, overriding the plugin that declares it."
    • addedInput schema / properties / horizon / description
      Added value: +"How many months of the base paths base reports."
    • addedInput schema / properties / key
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "The input key question and write read: one of the keys a model declares for the date."
      +}
    • addedInput schema / properties / kind / description
      Added value: +"What to work with: macro versions, satellite bundles, the inputs a model declares (the answers the agent writes), or the catalog of installed plugins."
    • addedInput schema / properties / model_id / description
      Added value: +"The macro plugin estimate and backtest run; the only one installed when omitted."
    • addedInput schema / properties / only / description
      Added value: +"The macro variables backtest limits itself to, and the ones base reports; all when omitted."
    • addedInput schema / properties / payload
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "The answer write checks and stores, as the question's schema asks."
      +}
    • addedInput schema / properties / version / description
      Added value: +"The version hash: what describe and base read, and the macro version the satellites of an estimate are built on."
  2. Changed1 schema field changedv1.0.1
    • addedInput schema / properties / horizon
      Added value: +{
      +  "default": 12,
      +  "type": "integer"
      +}
  3. Changed2 schema fields changedv0.2.0
    • addedInput schema / properties / assignment
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
    • addedInput schema / properties / model_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
  4. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false), the description discloses genuinely useful traits: `base` starts no job while estimates/backtests presumably do, inputs are written by the agent with no human approval, refused answers return the offending field, and `list` takes no version. That is real behavioral context the annotations do not carry.

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

Conciseness3/5

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

The text is front-loaded with the kind enumeration, but it is a dense wall of run-on clauses with heavy backtick nesting that is hard to scan. It also duplicates the per-kind action lists verbatim from the schema's `action` description, which earns no new information. Justified in length for a ten-parameter multi-action tool, but not efficiently organized.

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 an output schema and full schema coverage, the description only needs to supply behavior and routing, and it does: per-action semantics, the elicit/inputs distinction, the guide prerequisite, and the agent-authored-inputs warning. The remaining gap is that estimate/backtest job behavior is only implied via the 'starts no job' remark on `base`.

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%, so the schema already documents all ten parameters and the description largely restates them (model_id default, assignment override example, version meaning). The one piece of added meaning is cross-parameter scoping — which actions read `version` and that `list` ignores it. That is modest value on top of an already-complete schema, so the baseline 3 is right.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with the resource ('Model versions and plugins') and enumerates the four kinds and their valid actions, so an agent can tell what the tool covers. It also explicitly distinguishes the `inputs` kind from the `elicit` sibling ('the elicit tool serves the same four actions and is the one to call when the user asks for the answers'). It is a multi-purpose tool whose scope is stated rather than summarized in one crisp verb, which keeps it short of a 5.

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

Usage Guidelines4/5

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

Clear routing context is given for the ambiguous case: use `elicit`, not `inputs`, when the user asks for a model's question answers, and read guide(name="model-inputs") first. It also signals that `base` 'starts no job', implying estimate/backtest do, which helps the agent anticipate async behavior. What is missing is when-to-use guidance relative to the other job/scenario siblings for the macro actions.

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