Skip to main content
Glama

Delete mapping association

delete-mapping-association
DestructiveIdempotent

Remove a single CoA → reporting-concept mapping edge by id. The mapping structure itself remains; only the association row is dropped. Use this to correct a wrong mapping — delete the bad edge, then create-mapping-association the right one. The association id is list-element-arcs over MCP and the libraryElementArcs GraphQL field. Library-seeded rows cannot be deleted (403). An edge for an account with landed history in a closed month cannot be removed on its own (422): move the account with create-mapping-association and replaces_association_id instead.

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": {
      "mapping_id": "map_01HVF8T0M2YTAY3BBNRH0V0",
      "association_id": "assoc_01HVF8T0M2YTAY3BBNRH0V0"
    },
    "name": "delete-mapping-association"
  }
}

Input Schema

NameRequiredDescriptionDefault
mapping_idYesThe mapping structure containing the association.
association_idYesThe association edge to delete.

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 cover destructive/idempotent/not-read-only, but the description adds substantial context beyond that: deletion is partial (association row only, structure preserved), and it discloses failure modes with specific HTTP semantics (403 for seeded rows, 422 for closed-month history) plus the correct workaround. That is exactly the kind of behavioral detail annotations cannot express.

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 the core action and the structural caveat, then the corrective workflow, then error conditions. Dense but every clause carries actionable information; the GraphQL field-name aside is the only element closest to filler.

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-parameter destructive tool with no output schema, the description covers scope of deletion, the corrective alternative, and both known failure paths with remediation. An agent has everything needed to call it correctly or decide not to.

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 genuinely useful provenance for association_id ('list-element-arcs' over MCP, 'libraryElementArcs' in GraphQL), which helps an agent obtain the correct identifier. It does not add validation or format guidance for mapping_id, so it stops short of a 5.

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 precise verb and resource: remove a single CoA → reporting-concept mapping edge by id. It immediately disambiguates from deleting the mapping structure ('the mapping structure itself remains; only the association row is dropped'), which is exactly the confusion an agent would have given siblings like list-mapping-structures and delete-* 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 names the scenario ('use this to correct a wrong mapping') and the paired alternative workflow (delete the bad edge, then create-mapping-association the right one). It also gives two when-not cases with concrete status codes: library-seeded rows (403) and edges for accounts with landed history in a closed month (422), routing the latter to create-mapping-association with replaces_association_id.

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.