Skip to main content
Glama

stagenth · 数据工具箱

data_join

两份数据文件按共同列连接(如 订单表×客户表),返回实际数据行 JSON(1 credit/次)。

    跨文件对齐是单文件 data_query 做不到的;DuckDB 引擎、锁死文件/网络访问。失败自动退款。
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
onYes连接列名(两份数据中都存在,最多 8 个)
howNo连接方式 inner / leftinner
fmt_aNoA 格式 csv/tsv/json/ndjson/parquet;缺省自动识别
fmt_bNoB 格式;缺省自动识别
limitNo最多返回行数;硬上限 1000
columnsNo只返回这些列;缺省返回全部
file_id_aNo数据 A 的文件 ID(与 data_base64_a 二选一)
file_id_bNo数据 B 的文件 ID(与 data_base64_b 二选一)
data_base64_aNo数据 A 内容 base64
data_base64_bNo数据 B 内容 base64

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses the DuckDB engine, locked file/network access, cost of 1 credit per call, and automatic refund on failure. These are meaningful behavioral traits beyond basic functionality. It does not mention all potential side effects, but for a join operation, the disclosure is strong.

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?

The description is two sentences, densely packed with purpose, return type, cost, differentiator, engine, security restrictions, and refund policy. It is front-loaded and every sentence carries meaningful information. No filler or repetition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 10 parameters and no output schema, the description offers substantial context: engine, security locks, cost, refund guarantees, and the unique value proposition. It is thorough for practical use, though it could be more explicit about the need to supply two file sources (file_id vs base64), but this is covered by 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?

The input schema covers all parameters with descriptions (coverage 100%), including 'on', 'how', format overrides, limit, columns, and file inputs. The description does not add additional parameter-level semantics beyond what the schema already provides, so the baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's function: joining two data files on common columns, with an illustrative example (orders × customers). It also specifies the output as actual data rows in JSON. It distinguishes itself from sibling tool data_query by noting that cross-file alignment is not possible there, which aids selection.

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

Usage Guidelines4/5

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

The description explicitly indicates when to use this tool: for cross-file joins that data_query cannot handle. It names the alternative and provides context, though it does not cover all sibling tools or negative cases (e.g., when not to use). This is clear but not exhaustive.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.2/5.0
Disambiguation4/5

Each tool targets a distinct data operation (clean, convert, inspect, join, profile, query). There is minor overlap between data_inspect and data_profile (both provide column types and null information), but descriptions and names make the intended use clear.

Naming Consistency5/5

All tool names follow a consistent 'data_' prefix plus a concise verb (clean, convert, inspect, join, profile, query). The pattern is uniform and predictable.

Tool Count5/5

Six tools is well-scoped for a data processing toolbox. Each tool covers a core data wrangling need, and the count is neither sparse nor overwhelming.

Completeness5/5

The toolset covers the main data lifecycle: cleaning, format conversion, structural inspection, profiling, joining, and querying. No obvious critical operations are missing for common data analysis workflows.

Resources