Skip to main content
Glama

Get unmapped elements

get-unmapped-elements
Read-onlyIdempotent

List Chart of Accounts elements that are not yet mapped to US GAAP reporting concepts.

WHEN TO USE:

  • At the start of a CoA → GAAP mapping workflow

  • To check which accounts still need mapping

  • To track progress during an iterative mapping session

RETURNS:

  • List of unmapped CoA elements with id, code, name, classification, balance_type

  • EFS trait (asset/liability/equity/revenue/expense) helps narrow the target reporting concept

  • On a group, one entity's chart: entity_id names it (or mapping_id does, through the entity whose chart it maps); default the group parent's

  • liquidity (current/noncurrent, assets/liabilities only) narrows further to the right BS section

  • nets_against, on a contra-asset account: the concept its one gross sibling under the same parent maps to. Map the contra there: it nets against that balance

WORKFLOW:

  1. Call this tool to see unmapped elements

  2. For each element, use suggest-mapping to find matching reporting concepts

  3. Use create-mapping-association to write confirmed mappings

  4. Call get-mapping-summary to check overall coverage

  5. To move an account that is already mapped, create-mapping-association with replaces_association_id (its current arc): one write, judged as a reclassification when closed months are involved

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get-unmapped-elements"
  }
}

Input Schema

NameRequiredDescriptionDefault
entity_idNoThe entity whose books this acts on, by id (get-graph-info lists them). Omit for the group parent.
mapping_idNoOptional: the mapping structure to check against. It names the entity whose chart is read, over `entity_id`; omit it to read `entity_id`'s chart.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world, so safety needs no restating. The description goes further with behavior an agent could not infer: the returned field set, the entity_id default to the group parent, mapping_id precedence, and the interpretive meaning of efs/liquidity/nets_against for choosing target concepts. Nothing here conflicts with 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?

Purpose sentence is front-loaded and the WHEN TO USE / RETURNS / WORKFLOW structure is easy to scan. Some of the RETURNS bullets drift into field-level interpretation (efs trait, liquidity, nets_against) rather than describing the return shape, which lengthens the entry, but nothing is truly redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-optional-parameter read-only listing tool with no output schema, the description supplies what the structured fields cannot: the return fields, how to interpret them for downstream concept selection, and where this tool sits in the create/verify loop. An agent has everything needed to call it correctly.

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% and both parameters are already documented, including the precedence of mapping_id and the 'omit for the group parent' default. The description repeats those defaults but adds the rationale (an entity's chart is what is read, mapping_id only names the entity indirectly), which slightly sharpens how to choose between the two optional ids.

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 plus the defining scope condition: 'List Chart of Accounts elements that are not yet mapped to US GAAP reporting concepts.' The negation ('not yet mapped') cleanly separates it from sibling reporting/summary tools without needing their schemas.

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?

Has an explicit WHEN TO USE block (start of a CoA → GAAP mapping workflow, checking remaining accounts, tracking iterative progress) and a numbered WORKFLOW that names the concrete alternatives: suggest-mapping, create-mapping-association, get-mapping-summary. It also says how to move an already-mapped account via replaces_association_id instead of re-running this tool, which is a genuine use-vs-alternative distinction.

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.