Skip to main content
Glama

delete_named_query

Delete a named query in AWS Athena by providing its ID to remove outdated or unnecessary saved queries and keep your workspace organized.

Instructions

Delete a named query

Args: named_query_id: Named query ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
named_query_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of disclosing behavior. It only says 'Delete' without noting irreversibility, potential side effects on dependent resources, permissions required, or error conditions. This is thin for a destructive operation.

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 description is compact and front-loaded with the action. The Args block is somewhat redundant with the schema but is not padded or verbose, so this is an appropriately concise definition for a simple one-parameter tool.

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

Completeness2/5

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

For a destructive tool with no annotations, the description is too sparse. It lacks behavioral caveats, provenance of named_query_id, and any sense of what happens on success or failure. The output schema exists but is not included, so it does not compensate for the missing behavioral context.

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

Parameters2/5

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

Schema description coverage is 0%, and the description merely restates the parameter name as 'Named query ID', duplicating the schema title. It does not explain the format of the ID, how to find it, or any constraints beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Delete') and resource ('named query'), making the tool's purpose immediately clear. It is distinguishable from sibling tools like get_named_query, create_named_query, and list_named_queries, though it does not explicitly contrast itself with them.

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 guidance about when to use this tool versus alternatives, no prerequisites, and no mention of how to obtain the named_query_id. The only implicit context comes from the tool name and sibling list, which is not enough.

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