Skip to main content
Glama

das__ListFullSqlTasks

Queries SQL insight task lists for a specified DAS instance after full SQL collection is enabled, with filtering and pagination; supports paid instances only.

Instructions

[DAS] 全量SQL开关打开后,查询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": {
      "instance_id": "<instance_id>",
      "project_id": "<project_id>"
    },
    "name": "das__ListFullSqlTasks"
  }
}

Input Schema

NameRequiredDescriptionDefault
ascNo排序顺序(true:正序, false:逆序)。
pageNo页码。
userNo用户名。
limitNo每页记录数。最大为100。
statusNo执行状态(0:成功,1:失败)。
trx_idNo事务ID。
db_nameNo数据库名。
keywordNo关键字。
operationNo操作类型。
thread_idNo线程ID。
project_idYes项目ID。
range_leftNo最小任务起止时间(Unix timestamp),单位:毫秒。
sort_fieldNo排序字段(create_at:任务创建时间, range_start_at,range_end_at:任务起止时间)。create_at
instance_idYes实例ID。
range_rightNo最大任务起止时间(Unix timestamp),单位:毫秒。
create_at_leftNo最小任务创建时间(Unix timestamp),单位:毫秒。
create_at_rightNo最大任务创建时间(Unix timestamp),单位:毫秒。
sql_template_idNoSQL模板ID。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden and it does disclose two meaningful behavioral constraints: a prerequisite switch state and a paid-instance-only scope. It says nothing about result ordering/pagination behavior, result size, or whether the call is purely read-only beyond the implicit '查询'.

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?

Two short sentences with the function front-loaded and the constraints following; there is no filler. The leading '[DAS]' tag is the only marginally non-earning token.

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?

For an 18-parameter listing tool with no annotations and no output schema, the description covers purpose and eligibility but leaves paging defaults, the 100-record cap, and the filter/sort interplay entirely to the schema. Adequate but thin for the tool's complexity.

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% across all 18 parameters, including enums-in-prose for status, sort_field, asc, and limit bounds, so the schema already does the explanatory work. The description adds no parameter-level meaning such as which filters combine or how the range_* versus create_at_* timestamps differ.

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 gives a specific verb and resource: query the SQL insight task list ('查询SQL洞察任务列表') once the full-SQL switch is on. It clearly reads as a list/query tool distinct from write-side siblings like das__AddFullSqlTask, though it never names an alternative or contrast 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?

Two real preconditions are stated: the full-SQL switch must be enabled and the instance must be a paid instance. Usage is therefore implied rather than spelled out - no when-not guidance and no pointer to the sibling that creates tasks or checks switch status.

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