Skip to main content
Glama

Create entity

create-entity

Add an entity to the graph's reporting group: a subsidiary under parent_entity_id (default the group parent) that keeps its own books, chart of accounts and close, on the group's fiscal cadence. A graph created without an entity gets this one as its group parent. Creates the entity row only — give it a chart next (initialize-chart-of-accounts with entity_id) and a calendar (initialize with entity_id); from then on every ledger operation takes entity_id to act in its books, and omitting it means the group parent. The Reporting Style follows entity_type unless reporting_style_id names one. ticker prefixes the entity's account names and must be unique in the graph (409). There is no cap on entities: a graph is one reporting group, and everyone with access to it sees every entity. ownership_pct implies the consolidation_method (50 and above full, 20 to 50 equity, below 20 cost) unless one is given; entity_role: consolidation makes this the group's entity for consolidating entries, read by the consolidated statements only; joined_on dates an acquired subsidiary's membership. industry is an id from the industry classification, at any level (technology, health-care/biotechnology); an unknown value is refused (422) with the closest ids.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "name": "Maple Court LLC",
      "entity_type": "llc",
      "ownership_pct": 100
    },
    "name": "create-entity"
  }
}

Input Schema

NameRequiredDescriptionDefault
cikNoSEC Central Index Key: up to 10 digits.
leiNoLegal Entity Identifier (ISO 17442): 20 letters and digits.
sicNo
nameYesDisplay name.
phoneNo
tickerNoShort symbol, unique in the graph; it prefixes the entity's account names (`coa-<ticker>:1000`). Derived from the name's initials when omitted.
websiteNo
categoryNo
industryNoIndustry, as an id from the industry classification (the `industries` GraphQL field), at any level: `technology`, `health-care/biotechnology`, `technology/software/application/payroll-and-hcm`. An unknown value is refused with the closest ids.
joined_onNoThe month this entity became a member of the group, as any date in it; null is a member since the beginning. The consolidated statements include it from that month. Membership is by month: a period column wider than a month that overlaps the interval is summed whole, so a member's books in this graph should hold only the months it belonged. Omit for a subsidiary formed by the parent; give the acquisition month for one acquired, whose books in this graph then hold only what follows it. Refused on the consolidation entity.
legal_nameNoRegistered legal name. Defaults to `name`.
entity_roleNo`operating` keeps a company's books. `consolidation` is the group's one entity for the consolidating entries — eliminations, noncontrolling interest, the equity-method pick-up — the adjustments column of a consolidation worksheet, which only the consolidated statements read and no operating company's statements ever include. Its method is `none`. Default `operating`; a graph's first entity, its group parent, is always operating. Start a consolidation entity's chart from the `consolidation` template.
entity_typeNoLegal form: `corporation`, `llc`, `partnership`, `sole_proprietorship`, `non_profit`. Picks the default Reporting Style (partnership and llc have equity-form Styles of their own; anything else is corporate) and the equity rows of a chart template.
address_cityNo
address_line1No
address_stateNo
ownership_pctNoThe parent's share of this entity, as a percent (100 = wholly owned). Omit when not recorded. Refused on a graph's first entity, which becomes the group parent.
address_countryNoISO 3166-1 alpha-2 country code.
sic_descriptionNo
parent_entity_idNoThe entity this one is held under. Omit for the group parent; name a subsidiary to nest a sub-group under it.
reporting_style_idNoStructure id of the Reporting Style to present under, validated in the graph like change-reporting-style. Omit to derive it from `entity_type`. A consolidation entity always takes the group parent's.
address_postal_codeNo
consolidation_methodNoHow the group's consolidated statements treat this entity: `full` (its books are summed and an outside owner's share is carried as noncontrolling interest), `equity` (one investment line and one income line), `cost` (an investment at cost) or `none` (the group parent, the consolidation entity, a linked counterparty). Derived from `ownership_pct` when not given — 50 and above `full`, 20 to 50 `equity`, below 20 `cost`, unrecorded `full` — and set by a person where control is not the percentage: a managing member with a minority stake consolidates in full, a majority without control takes the equity method. Omit to derive it; a graph's first entity and a `consolidation` entity take `none`.
state_of_incorporationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations supply readOnlyHint=false and destructiveHint=false, but the description adds genuine behavioral context beyond them: ticker must be unique in the graph (409), an unknown industry is refused (422) with closest ids, no cap on entities, and every entity is visible to everyone with access to the group. It also discloses derivation behavior (consolidation_method derived from ownership_pct at the 50/20 thresholds, Reporting Style derived from entity_type) and first-entity privileges.

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?

Front-loaded with purpose and the create-then-initialize sequence before the parameter detail, and every paragraph carries information an agent needs to call it correctly. It is dense and long (~230 words), and several sentences restate schema-level parameter descriptions nearly verbatim, which costs some readability.

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 24-parameter creation tool with no output schema, the description covers sequencing, defaults, error statuses, and visibility rules thoroughly, and annotations cover the safety profile. The remaining gap is that nothing is said about what the call returns (the created entity's id/handle), which matters when there is no output schema to consult.

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?

With 58% schema coverage, the description carries the semantic load for the ambiguous parameters: ticker's prefixing role and uniqueness, industry's hierarchical id form, joined_on's month-granularity membership rule, consolidation_method's full/equity/cost/none decision matrix, and reporting_style_id's derivation. Uncovered fields (sic, sic_description, category, address parts) are left entirely to the schema, though most are self-evident from their titles.

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?

Opens with a specific verb and resource plus scope: 'Add an entity to the graph's reporting group', then immediately narrows to 'a subsidiary under `parent_entity_id` (default the group parent) that keeps its own books'. It is clearly distinguishable from update-entity and from the follow-on initialize-chart-of-accounts / initialize tools.

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

Usage Guidelines5/5

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

Explicitly bounds what this tool does and what must follow: 'Creates the entity row only — give it a chart next (initialize-chart-of-accounts with `entity_id`) and a calendar (initialize)'. It also states when each optional input applies (ownership_pct refused on the first entity, joined_on refused on the consolidation entity, entity_role: consolidation for the adjustments column), which routes the caller without inference.

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.