Skip to main content
Glama

publish_intent

Publish a procurement intent using natural language. Describe what to buy; the platform auto-sources suppliers and returns an intent ID to track status and view matches.

Instructions

发布采购意图。用自然语言描述你要买什么,平台自动寻源匹配。返回 intent_id。发布后用 get_intent_status 轮询进度(每 5 秒),状态变为 MATCHED 后用 list_matches 查看匹配结果。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes采购需求描述,如"100箱新西兰蜂蜜,预算3万"
budgetNo预算上限(单位:分,如 3000000 = 3万元)
currencyNo货币代码,默认 CNY
Behavior3/5

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

No annotations provided, so description bears full burden. It reveals async matching and return of intent_id but lacks details on failure modes, rate limits, or idempotency.

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?

Three sentences: purpose, return value, follow-up steps. Front-loaded and no superfluous words.

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?

Despite no output schema, description conveys expected return (intent_id) and complete async flow. All three parameters are covered, and the tool's role in the broader workflow is clear.

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 coverage is 100%, baseline 3. Description adds an example ('100箱新西兰蜂蜜,预算3万') and explains budget unit in cents, providing extra value beyond schema.

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?

Description clearly states the tool publishes a procurement intent using natural language, and immediately distinguishes it from related tools like get_intent_status and list_matches by describing the post-publish workflow.

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?

Explicitly guides the agent to poll with get_intent_status every 5 seconds after publishing, then use list_matches when MATCHED, though it doesn't list alternative tools for when not to use this one.

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/ggqshuai-hub/a2amarket-mcp-server'

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