Skip to main content
Glama
rubyLs

@rubyls/yearning-mcp

by rubyLs

提交查询申请

yearning_submit_query_order

Submit a data query application for a source, providing a reason and optional export flag. If query review is enabled, the request requires approval before the query can run.

Instructions

提交数据查询申请。开通查询审核时需审批通过后方可 yearning_run_query。对应 POST /api/v2/query/post

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
exportNo是否允许导出:0 否 / 1 是
remarkYes查询申请理由
source_idYes申请查询的数据源 ID
Behavior4/5

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

With annotations indicating readOnlyHint=false (write operation), the description adds value by disclosing the approval workflow (approval needed before run_query) and the HTTP endpoint (POST /api/v2/query/post). It does not contradict annotations and provides behavioral context beyond the structured fields.

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 concise sentences: the first states the primary purpose, the second adds workflow context and the API endpoint. Every sentence earns its place, with no redundant or extraneous content.

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?

The description covers the purpose and approval workflow, but since there is no output schema, it does not mention what the response looks like (e.g., order ID). Given the tool's mutation nature and the need for further steps (like querying order status), this is a notable omission that affects completeness.

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%, with all three parameters (export, remark, source_id) having individual descriptions. The tool description does not add additional semantic meaning beyond what the schema already provides, so the baseline score 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 action and resource: '提交数据查询申请' (submit a data query application). It distinguishes from siblings by explicitly referencing 'yearning_run_query' and the query submission context, differentiating it from generic submit tools like 'yearning_submit_order'.

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 implies usage: use this to submit a query application, and mentions that if audit is enabled, approval is required before running the query with 'yearning_run_query'. However, it does not explicitly state when not to use this tool or name alternative tools, leaving a slight gap.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rubyLs/yearning_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server