Skip to main content
Glama

te_list_tables

Lists SQL-queryable tables for a ThinkingEngine project, including event views, user views, and tag tables, so you can identify data sources for queries.

Instructions

List SQL-queryable tables for a project (event views, user views, tag tables, etc.)

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": {
      "projectId": "<projectId>"
    },
    "name": "te_list_tables"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostNoTE system host (e.g. ta.thinkingdata.cn). Defaults to TE_HOST env var.
projectIdYesProject ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, yet it only says what is listed. It does not state that this is a read-only operation, whether results are paginated, whether access is permission-scoped, or what the returned table entries contain.

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?

A single front-loaded sentence with the resource and scope first and clarifying examples last; nothing is wasted. It is arguably lean to a fault, but there is no filler.

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 a simple two-parameter list tool with full schema coverage, the core intent is covered. However, with no output schema and no mention of how to inspect the resulting tables' columns, an agent lacks the follow-up context needed to use the results.

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 coverage is 100% with both parameters (host, projectId) fully described, including the TE_HOST default, so the schema does the work. The description adds no parameter-level meaning beyond noting the listing is project-scoped.

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 and resource: 'List SQL-queryable tables for a project', and the parenthetical ('event views, user views, tag tables') concretizes what 'tables' means. This distinguishes it from te_query_sql and te_get_table_columns implicitly, though no sibling is named.

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?

The phrase 'SQL-queryable' hints that this is a discovery step before querying, but the description never says when to call it versus te_query_sql, te_get_table_columns, or te_list_events. Usage is inferable rather than stated.

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