Skip to main content
Glama

Set allocation override

set-allocation-override
DestructiveIdempotent

Set the outside owners' share of a member's result for one month in place of the pro-rata share its ownership percentage gives: a preferred return, a waterfall, a special allocation. Give the share as an amount in cents (negative for a share of a loss) or as a percentage of the month's result, with the basis; clear removes it. preview- and propose-consolidation-entries then use it for that month, and their basis says so. Only for a member consolidated in full, and refused in a month the consolidation entity has closed.

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": {
      "entity_id": "<entity_id>",
      "period": "<period>"
    },
    "name": "set-allocation-override"
  }
}

Input Schema

NameRequiredDescriptionDefault
basisNoWhy the share differs from the ownership percentage; required to set one.
clearNoRemove the month's override, back to the pro-rata share.
amountNoThe outside owners' share of the month's result, in cents; negative for a share of a loss.
periodYesThe month, as YYYY-MM.
entity_idYesThe member, consolidated in full.
percentageNoThe outside owners' share as a percentage of the month's result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, so the description's job is to add context — and it does: eligibility constraints (fully consolidated member), a hard refusal condition (closed month), the reversibility path ('clear removes it'), and the downstream effect on preview/propose-consolidation-entries. That is material behavior an agent cannot infer from the annotations.

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?

Three dense sentences, front-loaded with the purpose and followed by input form, downstream effect, and eligibility. Nothing is filler, though the first sentence is long and packs definitional material that could be split for faster scanning.

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 destructive write with no output schema and six fully documented parameters, the description covers purpose, eligibility, refusal condition, clearing, and downstream consumers. It does not say what a successful call returns or whether setting an override replaces an existing one, minor gaps given the rich schema.

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 100%, so baseline is 3, but the description adds the key semantic relationship: the share may be expressed either as an amount in cents (negative for a loss) or as a percentage of the month's result, and the basis is required alongside it. It also documents clear's effect. Only the interplay of supplying both amount and percentage at once is left unstated.

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 ('Set the outside owners' share of a member's result for one month') and immediately distinguishes it from the default behavior it replaces ('in place of the pro-rata share its ownership percentage gives'). The concrete examples (preferred return, waterfall, special allocation) pin down the domain concept so an agent can tell this apart from sibling policy-setting tools like set-reconciliation-policy.

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 clear preconditions for use ('Only for a member consolidated in full') and an explicit exclusion ('refused in a month the consolidation entity has closed'), plus the downstream consumers (preview- and propose-consolidation-entries). It does not name an alternative tool for cases where the override isn't appropriate, but the when/when-not framing is otherwise explicit.

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.