Skip to main content
Glama
DatasetPlaza MCP

DatasetPlaza MCP

dp_discover

Read-onlyIdempotent

Routes a data question to suitable published dataset sources by matching structured needs or raw queries, then returns candidates with access details, match reasons, and gaps.

Instructions

问路的第一跳(默认先调它)。主路径:先 dp_map 看分级地图,把用户需求归到大类,用 need 传结构化坐标(topics/subtopics 至少其一,可带 sectors/entities/measures/geo/year_from/year_to)——任何语言都不需要平台分词,query 可省略。兜底:不传 need 时把用户原话传进 query(「苏州汤面」「哪家火锅店评分最高」都行),平台用绑定在地图节点上的有限词面做解析。平台对照每个数据集的能力名片逐轴匹配,回 why:命中哪几轴、缺哪一轴。gap 汇总这批候选普遍缺什么。capability.asks 是这条数据真能接住的问题句。候选带 access 块:level=paid/authorized 表示源方收费或需授权,buy_at 是源方受理入口,next_step 是机器可读的下一步(contact_source / request_authorization / register / direct),verifiable_before_pay 说明付费前能否验货。看到 paid 不要当成「没有数据」——那是收费墙,不是不存在;也不要替用户付款或索要账号,平台不代销、不代收。shelf_gap=这条路不存在,access_gap=存在但要过闸门,两者互斥。0.40:候选带 license_summary(源方许可声明,缺一律 unknown)与 source_metadata(更新频率/时间覆盖/粒度,各带 basis);need 另可传 6 类约束(freshness/quality/budget/purpose/granularity/regions),constraints 段说明哪些验了、哪些因元数据缺失无法验证——只警告、不删候选。rejected 列出首屏之外位次最高的 3 条及剔除原因码(可解释性,不是第二排名)。不构成存在性证明、不返回值、不计费。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "dp_discover"
  }
}

Input Schema

NameRequiredDescriptionDefault
needNoagent 归类后的结构化需求坐标(分类 vocabulary 见 dp_map)
limitNo候选数量,默认 8
queryNo用户问题或关键词,字面辅助;有 need 时可省略

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.44.2

TDQS

A4.4/5.0
Behavior5/5

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

The annotations only declare the safety profile (readOnlyHint, idempotentHint, openWorldHint, destructiveHint=false). The description adds much behavior beyond them: the platform does not resell or collect payment, the tool does not charge, does not return data values, and does not prove existence. It also documents the access block (level, buy_at, next_step codes, verifiable_before_pay), the rejected list with its explanatory reason codes rather than a second ranking, and the constraints section, which only warns and never removes candidates. Nothing here contradicts the 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 opening line is well chosen and front-loads the default-call instruction, and the bold main-path/fallback markers help. The middle section, however, is a dense run-on covering access semantics, the shelf_gap/access_gap distinction, the '0.40' version additions, and the rejected list, with no paragraph breaks and no separation of reading order. The content mostly earns its place, but the layout makes it hard to extract.

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

Completeness5/5

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

There is no output schema, so the description must explain the return shape, and it does: per-candidate why (axis hit or missing), gap, capability.asks, access block, optional license_summary and source_metadata with basis, constraints verification status, and rejected codes. For a zero-required-parameter discovery tool with a nested need object, this covers everything the agent needs in order to call it and interpret the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description still adds meaning the schema does not provide: topics/subtopics must be at least one of the two (the schema states no required sub-fields), query can be omitted when the need is given, and need has six optional constraint classes (freshness/quality/budget/purpose/granularity/regions) whose verification status is reported. These clarify how to construct `need`, but the schema still carries most of the per-field definition.

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 definition states a specific, concrete purpose. It calls itself the 'first hop for asking directions', then explains that it matches the agent's structured need (or raw query) against each dataset's capability card and returns candidates. It also distinguishes itself from sibling `dp_map`: look at the tiered map first, then call this tool to search. The only reason it is not a 5 is that the opening sentence is metaphorical ('问路的第一跳'), so an agent must read two more clauses before it understands that this is a candidate-dataset discovery tool.

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

Usage Guidelines5/5

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

It explicitly explains the main path (use dp_map, categorize the need, then pass structured coordinates), the fallback (omit need and pass the user's original wording in query), and the preference order. It also states what not to do: do not treat `paid` as 'no data' instead of a paywall, do not pay on the user's behalf, and do not ask for accounts. It contrasts shelf_gap with access_gap and explains their mutual exclusivity, which lets the agent decide clearly between this tool and its alternatives.

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