Skip to main content
Glama

start_query_execution

Execute SQL queries in AWS Athena directly. Submit a query string with optional database, catalog, work group, and output location to run analysis.

Instructions

Execute a SQL query in Athena

Args: query_string: SQL query to execute database: Database to run query in catalog: Catalog to run query in work_group: Work group to use output_location: S3 location for query results

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
catalogNoAwsDataCatalog
databaseNo
work_groupNoprimary
query_stringYes
output_locationNo

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?

With no annotations provided, the description carries the full transparency burden. It only says 'execute' and does not disclose that Athena query execution is asynchronous, that the tool likely returns a query execution ID, or that subsequent polling/retrieval is required.

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 short and front-loaded with a clear action sentence. The Args list is organized, though it largely duplicates schema information, which slightly reduces its value.

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 an operation that starts an async Athena query, the description omits essential context: it does not mention that results are not returned directly, that callers should use get_query_results or get_query_execution to monitor status, or that work_group and output_location can affect execution.

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?

The schema has 0% description coverage, so the description must compensate, but the Args list merely restates the parameter names with generic phrases like 'Database to run query in' and 'S3 location for query results.' It adds no meaningful detail about defaults, optionality, or parameter interactions.

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 clearly states the core action: 'Execute a SQL query in Athena.' This is a specific verb and resource that distinguishes it from siblings like get_query_execution and stop_query_execution, though it does not explicitly contrast 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 on when to use this tool versus alternatives such as get_query_execution, get_query_results, or create_named_query. The usage is only implied by the verb 'execute,' and no workflow or precedence information is provided.

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