Skip to main content
Glama

set_axis

Change the time axis: move its start (earlier adds history and keeps the horizon; later drops periods), set how many periods it has, or set actualsThrough — the last period that is actual, before which recorded actuals override the model and after which everything is a forecast. Pass actualsThrough: null to reopen every period. The grain cannot change. The horizon is the analyst's: an axis that would end earlier than it does now is refused until confirmShorten is true, which is only for when the analyst asked for a shorter model — a part of the model that ends earlier (a mine's reserve, a lease, a contract) states model_until or fill_until on its own section instead, with set_values on the reserved row. A change that would discard values is refused until confirmDrops is true. Reported history on the axis wants actualsThrough set and the figures recorded with set_actuals.

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

Input Schema

NameRequiredDescriptionDefault
modelYesModel uid (`model_…`), from model_list.
startNoA period label on the model's grain, e.g. 2025-01 or 2025 or 2025-Q1 or 2025-H1.
periodCountNo
confirmDropsNoAllow a shorter axis to discard the values it no longer covers.
actualsThroughNoA period label on the axis, or null to reopen.
confirmShortenNoAllow the axis to end earlier than it does now: only when the analyst asked for a shorter model, and say so in your reply.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the annotations, it discloses the key behavioral guards: a shorter axis is refused until confirmShorten is true, and a change that would discard values is refused until confirmDrops is true, plus the actuals/forecast override semantics of actualsThrough. The only gap is that destructiveHint=false sits alongside a tool that can discard values once confirmed, though the description makes clear this is gated rather than a contradiction.

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

Conciseness4/5

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

Front-loaded with the action and the three modes before the caveats, and every clause carries information about refusals or alternatives. It is dense and runs long in a single paragraph, but little of it is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutating, no-output-schema tool, the description covers the refusal conditions, the immutability constraint, how to reopen periods, and which sibling to use for related figure entry. An agent has everything needed to call it correctly and avoid refused calls.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 83%, yet the description still adds real meaning: an earlier start 'adds history and keeps the horizon,' a later start 'drops periods,' actualsThrough null 'reopens every period,' and confirmShorten is scoped to analyst-requested shortening. It does not clarify the label format expectations beyond the schema's examples, but the semantic effect of each parameter is well explained.

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?

States a specific verb and resource ('Change the time axis') and enumerates the three supported modes: moving the start, setting period count, and setting actualsThrough. It also declares what cannot change ('The grain cannot change'), which cleanly separates it from siblings like set_actuals and set_values.

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

Usage Guidelines5/5

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

Explicitly routes the agent: confirmShorten is 'only for when the analyst asked for a shorter model,' while a sub-model that ends earlier should instead state model_until or fill_until on its own section 'with set_values on the reserved row.' It also tells the agent that reported history on the axis 'wants actualsThrough set and the figures recorded with set_actuals,' naming the correct alternative tool.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources