Skip to main content
Glama
treasure-data

Treasure Data MCP Server

Official

execute

Run SQL write operations like UPDATE, DELETE, and INSERT in Treasure Data when enable_updates is true.

Instructions

Execute write operations (UPDATE, DELETE, INSERT, etc.) when enable_updates=true

Input Schema

NameRequiredDescriptionDefault
sqlYesThe SQL statement to execute

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.2/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 behavioral burden. It discloses that this performs writes and requires enable_updates=true, but says nothing about irreversibility, affected rows, transactions, permissions, or return behavior.

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 short sentence that is front-loaded with the purpose and ends with the key prerequisite. It contains no redundant explanation.

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 write-capable SQL execution tool with no annotations and no output schema, the description is thin. It conveys the enable_updates gate but omits safety, side effects, and result expectations that an agent would need before invoking it.

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?

There is only one parameter, sql, and schema coverage is 100% with the schema already describing it as the SQL statement to execute. The description adds no additional syntax or formatting guidance 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?

States a specific verb (execute) and resource category (write operations), with examples UPDATE, DELETE, INSERT. It is clearly distinct from the likely read-only sibling query, though it does not name that sibling explicitly.

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

Usage Guidelines3/5

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

Gives one concrete usage condition: enable_updates=true. However, it does not explicitly say when not to use it or name the read-oriented query alternative, so the agent must infer the routing.

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