Skip to main content
Glama

Update entity

update-entity
DestructiveIdempotent

Update an entity of the graph's reporting group. Only provided fields are updated; an explicit null clears a descriptive field (legal name, identifiers, legal form, contact, address, industry) or a membership date. Omit entity_id to target the group parent; name a subsidiary's id to edit it. ownership_pct is refused on the group parent (422), and ticker must stay unique in the graph (409). consolidation_method overrides the treatment the share implies (a new share re-derives it unless both are given), entity_role: consolidation marks the group's entity for consolidating entries, and joined_on / left_on bound its membership by month — set left_on when a subsidiary leaves the group and its history stays readable under it. industry is an id from the industry classification, refused (422) with the closest ids when unknown; an explicit null clears it.

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": "Acme Corp",
      "legal_name": "Acme Corporation, Inc.",
      "entity_type": "corporation",
      "state_of_incorporation": "DE"
    },
    "name": "update-entity"
  }
}

Input Schema

NameRequiredDescriptionDefault
cikNoSEC Central Index Key: up to 10 digits.
leiNoLegal Entity Identifier (ISO 17442): 20 letters and digits.
sicNo
nameNo
phoneNo
tickerNo
left_onNoThe month this entity left the group, as any date in it; null is a member still. The consolidated statements include it through that month and leave it out after. 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. Must not precede `joined_on`. Set it when a subsidiary is sold, dissolved or deconsolidated; its closed months and stamped statements stay readable under the group. Pass null to reopen membership. Refused on the consolidation entity.
websiteNo
categoryNo
exchangeNo
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.
entity_idNoThe entity to update. Omit to target the group parent — the single-entity default.
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. Pass null to clear it. Refused on the consolidation entity.
legal_nameNo
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`. Refused on the group parent. Marking an entity `consolidation` sets its method to `none`.
entity_typeNoLegal form: `corporation`, `llc`, `partnership`, `sole_proprietorship` or `non_profit`. Changing it leaves the Reporting Style as it is.
address_cityNo
address_line1No
address_stateNo
ownership_pctNoThe parent's share of this entity, as a percent. Refused on the group parent, which has no owner in the graph. A new share re-derives `consolidation_method` unless that is given too.
address_countryNoISO 3166-1 alpha-2 country code.
sic_descriptionNo
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. On the group parent and the consolidation entity only `none` holds.
state_of_incorporationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing specific failure modes (422 for ownership_pct on the parent, 409 for duplicate ticker, 422 with closest ids for unknown industry) and the derived-field interaction where a new ownership_pct re-derives consolidation_method unless both are given. It also explains that history stays readable after left_on, which is critical context for a destructive-flagged mutation.

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?

Dense but front-loaded: the partial-update and null-clearing rules come first, then targeting, then constraints and field semantics. Some content duplicates the schema's own joined_on/left_on descriptions nearly verbatim, which is minor waste in an otherwise efficient block.

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 25-parameter destructive mutation with no output schema, the description covers the essential behaviors — what is changed, what is cleared, what is refused, and what is derived. It does not describe the response shape, which it could since no output schema exists, but nothing needed to call it correctly is missing.

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?

At 44% schema coverage across 25 parameters, the description carries real weight: it explains null-clears for the descriptive fields, entity_id targeting, the ownership_pct/consolidation_method derivation, entity_role semantics, and the month-based membership logic for joined_on/left_on. Undocumented trivial string fields (phone, website, address parts) are left to the schema, so it compensates for most but not all of the coverage gap.

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 sentence names a specific verb and resource — 'Update an entity of the graph's reporting group' — and immediately states the partial-update model, so an agent knows exactly what operation this is. It does not explicitly contrast itself with create-entity or other update-* siblings, which keeps it just short of a 5.

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 concrete when-to guidance: omit entity_id to hit the group parent, name a subsidiary id to edit it, set left_on when a subsidiary leaves the group, and use entity_role: consolidation for consolidating entries. It stops short of naming alternative tools (create-entity, link-entity-taxonomy) or stating when-not to use this one, so it is clear context without full routing.

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.