Skip to main content
Glama

Octobooks

Dimensions, lettings, agent statements

dimension_set
Destructive

Add, rename or set inactive a value of a dimension: kind (cost_centre, project or channel), code (letters, digits, dot, hyphen, at most 30), name, active (false sets it inactive; nothing is deleted, posted lines name it). Lines in answers and proposals then carry cost_centre, project, channel and party (a customer or supplier code), set when the line is written and fixed after. The values and the result per value are in the reports dimensions and by_dimension. Setting a value books nothing. Round 700, the letting pack (its rent roll is the report rent_roll): kind property with code, name and use (residential, commercial, mixed) adds a property as a cost centre; kind tenancy with code (the property), name (the tenant), rent (before VAT), frequency (weekly, monthly, quarterly, yearly), start, deposit, unit; kind tenancy_end with code (the tenancy number) and on; kind option_to_tax with code, decided_on, notified_on (UK, VAT Notice 742A, not for a dwelling); kind rent or deposit (back=true: returned) with code (the tenancy number), amount, on (the day) and bank_account proposes the entry. Round 751: kind property with country (3 letter code of the SA106 list, FRA) and tax_credit_relief adds a UK landlord's let abroad, with its own accounts and SA106 boxes; kind property_end with code, on and reason (no-longer-renting-property-out or disposal) ends it. Round 1148: kind agent_statement with name (the letting agent), on (the statement date), code (its reference), rows ([{account, amount, vat, for: p:PROPERTY or t:TENANCY, kind: rent, cost, deposit or other, memo}]) and paid (what the agent paid over) posts the statement gross, the balance due from the agent in Other debtors; on an asset or liability row plus is money the agent keeps back for the landlord (a float), minus money it pays out of it.

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

Input Schema

NameRequiredDescriptionDefault
onNo
useNo
backNo
codeYes
kindYes
nameNo
paidNo
rentNo
rowsNo
unitNo
startNo
activeNo
amountNo
reasonNo
companyNo
countryNo
depositNo
frequencyNomonthly
decided_onNo
notified_onNo
bank_accountNo
tax_credit_reliefNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and readOnlyHint=false, so the description rightly spends effort on consequences: 'nothing is deleted, posted lines name it', 'Setting a value books nothing', lines are 'set when the line is written and fixed after', and agent_statement 'posts the statement gross, the balance due from the agent in Other debtors'. Those are genuine behavioral disclosures about persistence and posting side effects that annotations do not carry. It does not contradict the annotations, since the posting kinds justify destructiveHint despite the 'nothing is deleted' clarification.

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 core purpose is front-loaded correctly and nearly every clause carries functional information, so it is not padded. But it is delivered as a single sprawling run-on paragraph mixing three release 'rounds', comma-spliced enumerations, and inline abbreviations ('for: p:PROPERTY or t:TENANCY'), which makes it hard to scan. A kind-by-kind structure would have preserved the same content far more legibly.

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 22 parameters, zero schema descriptions and a mutation tool, the description is unusually complete: it covers most parameters, the posting behavior of the entry-creating kinds, and where results are visible (reports dimensions and by_dimension, rent_roll). An output schema exists, so return values need not be explained. Residual gaps are the undocumented 'company' parameter and the unclear relationship between kind variants and the round gating.

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 description coverage is 0% with 22 parameters and no enums, so the description must carry the load, and it largely does: it enumerates kind values, constrains code ('letters, digits, dot, hyphen, at most 30'), defines active=false, use (residential/commercial/mixed), frequency (weekly/monthly/quarterly/yearly), reason values, country as a 3-letter SA106 code, tax_credit_relief, back=true, and the rows element shape (account, amount, vat, for: p:/t:, kind, memo) plus paid. The notable gap is 'company', which is never mentioned, and the conditional grouping of parameters per kind is implied rather than tabulated.

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 opening clause gives a concrete verb set and resource: 'Add, rename or set inactive a value of a dimension', with the primary kinds enumerated (cost_centre, project, channel). It is clear what the tool does, but the definition then expands into lettings, properties and agent statements, so the agent must infer that this is one overloaded 'set' entry point rather than a single-purpose tool. No sibling is named for differentiation, even though siblings like accounts_set, contact_set and project_set sit adjacent.

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

Usage Guidelines3/5

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

Usage is implied by the enumeration of kinds and rounds (kind property for a lettings property, kind rent/deposit to propose an entry, kind agent_statement to post a statement), which lets an agent pick the right branch. However there is no explicit when-to-use/when-not guidance, no prerequisites, and no routing to or away from the many sibling *_set tools. The round numbers (700, 751, 1148) are opaque gating cues the agent cannot act on.

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