Skip to main content
Glama
DatasetPlaza MCP

DatasetPlaza MCP

dp_usage

Read-onlyIdempotent

Get a dataset source's complete access handover: MCP config or HTTP endpoint, auth, quotas, pagination, field caveats, license terms, and next steps, plus a usage ref for settlement.

Instructions

取用交接单:拿到某个源的完整接入档案——先看 form:源方给了 MCP 就返回 MCP 启动配置与工具名(参数以该 MCP 的 tools/list 为准,平台不转录源方的 HTTP 参数);没有 MCP 才给 endpoint / 方法 / 请求头。另含鉴权怎么拿、日配额与分页上限、字段与已知精度坑,以及 alternate_http 指针(源方另有 HTTP 接口,不建议绕开 MCP)。返回同时生成一条使用记账(ref),作为以后向源方结算的依据。平台只指路、不代取:不代发请求、不持凭证、不落快照、不替换源方口径;能取到什么、干不干净、准不准,由你按源方规范自行判断。付费/授权源会直接给出 buy_url 与 next_step,供用户在界面上点开。0.40 起同时给 license_summary(能否再分发、是否需署名、条款地址;源方未声明一律 unknown)与 source_metadata(源方声明的更新频率/时间覆盖/粒度)。平台不解释条款、不替你判断合规性。

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": {
      "dataset_id": "<dataset_id>"
    },
    "name": "dp_usage"
  }
}

Input Schema

NameRequiredDescriptionDefault
needNo(可省略)你的结构化需求。给了它,交接单会附 locator_coverage:用三态(covered/absent/unknown)逐轴回答「这张表里到底有没有你要的那一格」。不取数,只做声明级判定。
actorNo你的 agent/会话标识(写入记账,可省略)
queryNo(可省略)原始问句。用于在表内指标清单里定位到具体那一列(如「摩托车」→ 摩托车交通事故死亡人数)。
dataset_idYesdp_discover / dp_index / dp_card 返回的 ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.44.2

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly/openWorld/idempotent/non-destructive, yet the description adds substantial behavioral context: no proxying of requests, no credential holding, no snapshots, no rewriting of the source's definitions, paid/authorized sources return buy_url + next_step, and license_summary defaults to 'unknown' when the source is silent. One tension worth noting: it says the call also writes a billing ledger entry (ref) '作为以后向源方结算的依据' while readOnlyHint=true / idempotentHint=true — the description discloses this rather than hiding it, so I treat it as a nuance rather than a contradiction, but it slightly weakens the fit with annotations.

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 core purpose is front-loaded, but the text is dense and repetitive: multiple bolded disclaimers repeat the same 'platform only points the way, does not fetch/hold/snapshot/judge' idea twice ('平台只指路、不代取…' and '平台不解释条款、不替你判断合规性'). Parenthetical asides and version notes ('0.40 起…') interrupt the main flow and could be consolidated.

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?

There is no output schema, and the description does the heavy lifting for the return value, enumerating the dossier's sections, the ref ledger entry, and the paid-source buy_url/next_step path. What remains underspecified is the document's actual shape and size (nested object structure, ordering) and the concrete effect of the ledger write on repeated calls.

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% and each of the four parameters is already documented in the schema (including the three-state locator_coverage behavior of `need` and the column-matching role of `query`). The description adds no further meaning about input parameters — its parameter-related sentence ('参数以该 MCP 的 tools/list 为准') concerns the returned MCP config, not the inputs. Baseline 3 is appropriate.

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+resource: it returns the full access/onboarding profile ('完整接入档案') for one source, and enumerates exactly what that profile contains (MCP startup config vs endpoint/method/headers, auth, quota, pagination cap, fields, precision pitfalls, alternate_http, license_summary, source_metadata). This is far more specific than the name 'dp_usage' suggests, and it clarifies the confusing part: the tool is not usage statistics but an access dossier plus a ledger entry. It does not explicitly contrast itself with siblings such as dp_card or dp_forms, so it falls short of a 5.

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?

Usage context is only implied: you call it after discovering a dataset_id, when you need the full access profile rather than a summary. The one explicit routing rule is about how to consume the result ('先看 form'; prefer MCP over alternate_http: '不建议绕开 MCP'), not about when to call this tool versus dp_card/dp_forms/dp_hub. No when-not-to-use or prerequisite statement is given in the description itself.

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