Skip to main content
Glama
FindDataTechnology

fd-cn-report

Official

delete_index

Delete the cnreport-{year} Elasticsearch index and its metadata row for a specified year. Requires confirm=true to execute.

Instructions

Drop the cnreport-{year} Elasticsearch index and its metadata row.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
yearYeswhich index year to delete.
confirmNomust be True to actually delete.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.4

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that both the index and its metadata row are destroyed, which is more than the name conveys, but it omits irreversibility, permission requirements, and confirmation behavior beyond what the schema already states.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with the destructive action first and the affected resources second. Every word earns its place with no filler.

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

Completeness3/5

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

The output schema covers return values, and the schema documents the confirm gate. However, for a destructive tool with zero annotation coverage, the description is thin on safety, permissions, and irreversibility, leaving meaningful gaps.

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 coverage is 100%, so both parameters are already documented. The description clarifies what "year" indexes into (the cnreport-{year} naming), adding a little context, but the confirm safety gate is left entirely to the schema. Baseline 3 is appropriate.

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 description pairs a specific destructive verb ("Drop") with a precise resource and scope ("the cnreport-{year} Elasticsearch index and its metadata row"). This clearly separates it from siblings like index_records, which writes rather than deletes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit guidance on when to use this tool versus alternatives, nor any stated prerequisites or runbook context. The destructive intent is implied by "Drop," but no conditions, warnings, or sibling routing are provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.