Skip to main content
Glama

set_meta

Idempotent

Change what a node says about itself without changing what it computes: title, description, source, unit, quantity, rollup, a check's expectation, a stock's opening level, how its numbers are written (numberFormat), how heavily the row is drawn (emphasis). Only the fields you pass change. Several rows go in one call: pass rows, a list of these same fields each with its name, and they are written and checked together — dressing an import's rows is one call, not one per row. An expectation that would pass a failing check without changing what it computes (a wider tolerance, a warning for an error) is refused unless the analyst asked for it (agreed): fix the figure, not the check.

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_meta"
  }
}

Input Schema

NameRequiredDescriptionDefault
citeNoCheckable citation beside `source`. `standing`: reported (needs `document`), estimate, or assumption. `document`: attachment id or address; `page`; `table`; `stated`: the figure exactly as printed; `scale`: printed × scale = stored (1000000 under in millions); `asOf` YYYY-MM-DD. `periods`: period label → the fields that differ there. Replaces the row's citation whole.
nameNo
rowsNoSeveral rows at once, in place of the fields above: each item those fields, with its `name`.
unitNoWhat the row measures: `USD`, `t`, `USD/t`, `headcount`. `%` for a ratio read as a percentage. Leave it off entirely for a plain number — a multiple, an index, a ratio you do not show as a percentage. Never `1`, `none` or `unitless`: those are not units, and the absence of the field is how the format says so. An empty string clears a declaration this row should not have had.
modelYesModel uid (`model_…`), from model_list.
titleNoThe row's name as a reader sees it; `name` stays the address. A title stating an assumption reads it — `Lender's {{loan.npi_rate}} net profit share`, never `Lender's 20% net profit share` — so the label follows the input: `{{name}}`, `{{name[2026]}}`, `{{name@scenario}}`, drawn in that row's own number format.
agreedNoOnly to loosen a failing check's expectation: the analyst's own words asking for it, quoted from their message. Never your own.
expectNoWhat a check asserts about its formula's value: `op` is ==, <=, >=, <, > against `value` (default 0), or `between` `low` and `high`. `severity` error blocks green; warning leaves the model green with a warning.
rollupNo
sourceNo
openingNo
emphasisNoHow much weight the row is drawn with: strong for a total or a subtotal, heading for a line the rows under it belong to, quiet for machinery nobody reads.
quantityNo
descriptionNoWhat the row is and where its figures come from, in every scenario. What one scenario assumes about it is that scenario's note (set_values with `scenario` and `note`), never a line here: a description is read in every case by every reader, and a scenario kept private takes only its own notes with it.
numberFormatNoHow the row's numbers are written: style percent for a rate, currency for money, decimals, and scale k or m for thousands or millions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, idempotent, non-destructive write. The description adds meaningful behavior beyond that: partial updates, batch writing and checking of rows, and refusal of loosened check expectations unless the analyst explicitly agreed.

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 description is dense but front-loaded, starting with the core purpose and then covering batching and the agreed guardrail. The repeated phrase 'without changing what it computes' is slightly redundant, but overall the structure earns its length given the tool's complexity.

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?

For a 15-parameter mutation tool with nested objects and no output schema, the description covers the key behavioral caveats: partial updates, row batching, and check-loosening restrictions. Some parameter-level details and return/validation behavior are left to the schema, but the definition is substantially complete.

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 67%, so many parameters already have documentation. The description adds useful meaning for rows, agreed, and the general field grouping, but it does not explain several parameters such as rollup, quantity, source, or opening beyond naming them.

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?

The description gives a specific verb and resource: changing a node's self-description without changing what it computes. It lists the metadata fields affected and draws a clear boundary against compute-changing siblings such as set_formula or set_values, even without naming them.

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?

It clearly scopes use to metadata edits and explains that only passed fields change. It also gives explicit batching guidance for rows and a condition for using agreed, but it does not name alternative tools or state when to choose this over them beyond the compute-vs-metadata boundary.

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