Skip to main content
Glama

das__AddFullSqlTask

Creates a full SQL detail parsing task for a specified database instance and time range, letting you analyze SQL execution details by database, user, operation, status, keyword, or thread.

Instructions

[DAS] 创建全量SQL明细解析任务

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "datastore_type": "<datastore_type>",
      "end_at": "<end_at>",
      "instance_id": "<instance_id>",
      "project_id": "<project_id>",
      "start_at": "<start_at>"
    },
    "name": "das__AddFullSqlTask"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_atYes结束时间(Unix timestamp),单位:毫秒
db_listNo数据库列表,最大长度20
node_idNo节点ID,有值时创建节点维度任务
start_atYes开始时间(Unix timestamp),单位:毫秒
user_listNo用户名列表,最大长度20
project_idYes项目ID
instance_idYes实例ID
status_listNo执行状态列表,"0"为成功,"1"为失败,最大长度20
keyword_listNo关键字列表,最大长度20
datastore_typeYes数据库引擎
operation_listNo操作类型列表,最大长度20
thread_id_listNo线程id列表,最大长度20

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/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 mentions creating a 'task', hinting at an asynchronous job, but does not describe permissions required, whether the task is long-running, how to monitor it, or what happens to existing tasks. For a 12-parameter mutation tool with no annotations, this is a significant gap.

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

Conciseness3/5

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

The description is a single short phrase with no wasted words. However, it is under-specified for a tool of this complexity, and the structure does not front-load any behavioral or usage information.

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?

Given 12 parameters, 5 required fields, no annotations, and no output schema, a one-line description is insufficient. It leaves out usage context, behavioral traits, and return expectations, making it hard for an agent to call the tool correctly without relying entirely on the schema.

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 description coverage is 100%, so all 12 parameters already have documented meanings and examples. The description adds no additional parameter context, which is acceptable given the schema's completeness, but it does not compensate for anything beyond the baseline.

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 states a specific verb and resource: create a full SQL detail parsing task. An agent can understand the core operation. However, it does not differentiate this from sibling tools like ListFullSqlTasks or ExportFullSqlDetails, so the purpose is clear but not disambiguated.

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?

No guidance on when to use this tool versus alternatives such as listing existing tasks or exporting SQL details. The word 'create' implies a new task, but there are no conditions, prerequisites, or exclusions provided.

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

Deploy Server

Other Tools