Skip to main content
Glama

add_ledger_columns

Add columns to a table that already exists. A new column starts blank in every entry — an absent cell is a blank, not a zero — and is filled by feed_fill or entries_add.

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>",
      "path": "<path>",
      "columns": "<columns>"
    },
    "name": "add_ledger_columns"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
modelYesModel uid (`model_…`), from model_list.
columnsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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 the mutation profile (readOnlyHint false, idempotentHint false, destructiveHint false); the description adds substantive semantics the annotations cannot convey — that a new column is blank in every existing entry and that an absent cell is a blank rather than a zero, which is exactly the kind of data-model gotcha an agent would otherwise get wrong. It stops short of stating what happens on a duplicate column name or whether partial adds roll back.

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

Conciseness5/5

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

Two sentences, front-loaded with the verb and resource, followed by the one behavioral fact most likely to be misread. The em-dash clause earns its length by disambiguating blank versus zero, and nothing is redundant.

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 non-idempotent mutation over a nested columns array (max 40) this covers the core semantic hazard but leaves gaps: no mention of duplicate column names, of the 40-column limit, or of what 'path' refers to. With no output schema, the description also says nothing about what the call returns.

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?

Top-level schema coverage is low (33%): 'path' carries no schema description at all and 'model' only points at model_list, so the description should compensate but never mentions either parameter. The deeply documented nested 'columns' properties (unit, formula, categories, numberFormat) do the heavy lifting, and the description adds only a blank-versus-zero nuance, so it neither fails nor adds much beyond the schema.

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?

States a specific verb and resource ('Add columns to a table that already exists') and narrows the target by requiring an existing table, which implicitly separates it from creation tools like add_ledger. It does not name the sibling it contrasts with, so an agent must infer that boundary rather than read it.

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?

The second sentence tells the agent what happens after the call and which tools supply the data ('filled by feed_fill or entries_add'), giving real downstream context. It offers no explicit when-not guidance (e.g., use add_ledger if the table does not exist yet), so the exclusion is only implied.

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