Skip to main content
Glama

Costory: Your Finops MCP

archive_object

Destructive

Archive (soft-delete / hide) one saved Costory object so it no longer appears in lists or Explorer. This is the archive/remove tool — it does not create or edit objects. Use it when the user wants to archive, remove, or delete a report, cost alert, event, virtual dimension, or dashboard. Pass resourceKind and resourceId. report sets archivedAt (soft delete; no MCP restore). cost alert sets archivedAt (soft delete). event sets archivedAt (soft delete). virtual dimension sets deletedAt (soft delete). dashboard permanently deletes the dashboard row. A virtual-dimension draft stays on discard_virtual_dimension_draft. A tag stays on delete_tag. No bulk. Do not use this to hard-delete an alert. A budget alert is not its own kind: pass resourceKind costAlert and alertType budget or cost. alertType is the type field from list_alerts, and it is only valid when resourceKind is costAlert.

Input Schema

NameRequiredDescriptionDefault
slugNoOrganization slug. Omit to auto-detect from your account (fails if you belong to multiple orgs).
alertTypeNo
resourceIdYes
resourceKindYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare destructiveHint=true/readOnlyHint=false generically; the description adds per-kind semantics that matter operationally – report/alert/event/virtualDimension perform soft deletes via archivedAt/deletedAt while dashboard 'permanently deletes the dashboard row'. It also discloses that no MCP restore exists, which is exactly the kind of irreversibility 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 definition and routing before the kind-specific lines. The line-by-line enumeration of archivedAt/deletedAt is slightly repetitive but each line carries distinct per-kind behavior, so it earns its space.

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 no-output-schema, 4-parameter object with a tricky dependent parameter (alertType), the description covers purpose, routing to alternatives, per-kind side effects, and the alertType coupling – everything an agent needs 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 low (25%), so the description must compensate and largely does: it defines alertType as 'the type field from list_alerts' and constrains it to resourceKind=costAlert, and notes a budget alert isn't its own kind. resourceId itself gets no added meaning, so it falls just short of full compensation.

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 ('Archive (soft-delete / hide) one saved Costory object') and immediately demarcates scope ('it does not create or edit objects'). The specific resourceKinds enumerated make it trivially distinguishable from siblings like archive_report and delete_tag.

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 ('archive, remove, or delete a report, cost alert, event, virtual dimension, or dashboard'), explicit exclusions ('Do not use this to hard-delete an alert', 'No bulk'), and named alternatives for the two lookalike cases (discard_virtual_dimension_draft, delete_tag). Nothing is left to 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.

Resources