Skip to main content
Glama

List mapping structures

list-mapping-structures
Read-onlyIdempotent

List the coa_mapping Structures on the tenant graph.

WHEN TO USE:

  • At the start of any mapping workflow, to discover the active mapping structure id without dropping out of the typed MCP surface

  • Before calling get-mapping-summary, get-unmapped-elements, or create-mapping-association — each of those takes a mapping_id that you get from here

RETURNS: List of mapping structures with id, name, block_type, taxonomy_id and framework — the reporting framework each maps the chart into. A chart holds one mapping per framework; the book mapping (rs-gaap) is listed first. On a group, the mappings of one entity's chart: entity_id names it, default the group parent.

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": "list-mapping-structures"
  }
}

Input Schema

NameRequiredDescriptionDefault
entity_idNoThe entity whose books this acts on, by id (get-graph-info lists them). Omit for the group parent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, closed-world, and non-destructive, so safety is covered. The description adds value beyond that by disclosing the returned fields, the ordering rule ("the book mapping (`rs-gaap`) is listed first"), and the one-mapping-per-framework invariant. It stops short of saying whether results are ever paginated or empty, which is the remaining behavioral gap.

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?

The WHEN TO USE / RETURNS headers front-load the two things an agent needs, and every bullet earns its place. The final RETURNS sentence about groups is compressed to the point of being hard to parse, which costs it a point.

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?

With no output schema, the description carries the burden of describing returns, and it does so concretely (id, name, block_type, taxonomy_id, framework) plus ordering and cardinality. For a zero-required-parameter read tool, an agent has everything needed to call it and interpret the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so `entity_id` is already documented in the schema, including the omit-for-group-parent default. The description's closing note ("On a group, the mappings of one entity's chart: `entity_id` names it, default the group parent") restates that with slight added framing about chart scope, but adds no new syntax or format detail. Baseline 3 applies.

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?

The opening sentence gives a specific verb and resource ("List the `coa_mapping` Structures on the tenant graph"), and the WHEN TO USE block positions it as the discovery step ahead of `get-mapping-summary`, `get-unmapped-elements`, and `create-mapping-association`. An agent can distinguish it from those siblings without opening any schema.

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?

Explicit WHEN TO USE section names both the workflow position ("at the start of any mapping workflow") and the concrete downstream tools that require the `mapping_id` produced here. It also states the rationale for using this over dropping out of the typed MCP surface, which is exactly the kind of alternative-selection guidance that matters.

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.