Skip to main content
Glama

set_values

Idempotent

Set an input's values — one number for every period, an array with one entry per period, or a map of period label to value leaving the rest as they are — in a scenario (default: the one on screen). For a constant, pass one number. note is what this scenario assumes about the row and why, in a sentence (gold a third below the strip, as in the 2015 trough): it is kept on the scenario, drawn beside the row whenever that scenario is on screen, and goes wherever the scenario goes — kept private, renamed or removed with it. Write a case's assumptions here and never into the row's description, which every reader of every scenario sees.

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": "<name>"
    },
    "name": "set_values"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
noteNoWhat this scenario assumes about this row, in a sentence; an empty string removes it. Not on base, whose assumptions are the row's description.
modelYesModel uid (`model_…`), from model_list.
valuesNoA number, an array of one value per period, or `{ "2026-07": 136000 }`. May be left out when only `note` changes.
scenarioNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / values / anyOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  },
      +  {
      +    "items": {
      +      "anyOf": [
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "additionalProperties": {
      +      "anyOf": [
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "type": "object"
      +  }
      +]
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare non-read-only, idempotent, non-destructive; the description adds materially more: the target scenario defaults to the one on screen, a map updates only named periods and leaves the rest intact, and note is stored on the scenario, rendered beside the row, travels with the scenario, and is removed with it. It does not cover validation behavior or what happens to periods omitted in array form, but the added context is substantial.

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?

The core verb and value forms are front-loaded, and the note/scenario semantics follow in a logical order. The nested parentheticals and em-dash asides make it denser than needed, but almost every clause carries usable information.

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

Completeness3/5

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

For a 5-parameter mutation with no output schema, the behavioral semantics of note and scenario are well covered, but one of the two required parameters (`name`) is never explained in either the schema or the description, and nothing says whether an unknown row or model is an error or a creation.

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 60%, and the description compensates well for the weakest documented parameter: it enumerates the accepted shapes for values and explains that note is per-scenario, sentence-length, and cleared by an empty string, plus the scenario default. It adds nothing for the required `name` parameter beyond "the row", leaving that one ambiguous.

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?

A specific verb plus resource ("Set an input's values") immediately followed by the three accepted value shapes and the scenario scoping. It is clearly not a read (values_get) and not a document/entries writer, though it never names a sibling to contrast with explicitly.

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?

Gives concrete selection rules between the three value forms ("For a constant, pass one number", array = one entry per period, map = partial update leaving the rest as they are) and states the default scenario. It also carries an explicit exclusion — put assumptions in note, "never into the row's description" — but offers no guidance on when to reach for this versus values_get or set_actuals.

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