Skip to main content
Glama

御府和田玉 在售作品查询

送礼顾问

gift_advisor
Read-only

按"送给谁、什么场合、预算"从在售作品里挑 3~6 件,给出适合的理由(器型、传统寓意、料子、重量)和一句贺卡文案。什么时候用:客人要送人,例如"给父亲祝寿,2万左右""送领导开业礼""女朋友生日5000以内""宝宝满月"。可以只传 text(客人原话),也可以分别传 who/occasion/预算。如果返回 need_more_info,先问客人缺的那几项,再调用一次。寓意只是传统说法,不要说成有功效,也不要承诺升值。

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": "gift_advisor"
  }
}

Input Schema

NameRequiredDescriptionDefault
whoNo送给谁:父亲/母亲/长辈/爱人/女友/男友/孩子/领导/客户/朋友/新人/自己
textNo客人原话,例:给我爸70大寿,预算2万左右
typeNo可选,指定器型:手镯/挂件/玉牌/手把件/摆件/手串
limitNo
occasionNo场合:祝寿/生日/春节/中秋/新婚/纪念日/满月/本命年/乔迁/开业/升职/商务/母亲节/父亲节
max_priceNo预算上限(人民币元)
min_priceNo预算下限(人民币元)

Output Schema

NameRequiredDescriptionDefault
whoNo
ai_labelNo
occasionNo
card_textNo
max_priceNo
min_priceNo
total_matchedNo
need_more_infoNo
recommendationsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "ai_label": {
      +      "type": "object"
      +    },
      +    "card_text": {
      +      "type": "string"
      +    },
      +    "max_price": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "min_price": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "need_more_info": {
      +      "type": "array"
      +    },
      +    "occasion": {
      +      "type": "string"
      +    },
      +    "recommendations": {
      +      "type": "array"
      +    },
      +    "total_matched": {
      +      "type": "integer"
      +    },
      +    "who": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Added

TDQS

A4/5.0
Behavior4/5

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

Beyond the readOnly/openWorld annotations (which already establish that this is a safe, local read), the view discloses return volume (3–6 items), reasons given (器型/寓意/料子/重量), and a need_more_info response contract with a retry instruction. It also sets communication constraints (寓意 is traditional wording, no efficacy or appreciation claims), which is real behavioral context the annotations do not carry; only output formatting and pagination details are left implicit.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is front-loaded with the core action, then the trigger examples and finally the communication caveats, and no sentence is filler. The quoted trigger examples and mixed Chinese/English punctuation make it slightly dense, but nothing could be cut without losing information.

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?

For a 7-parameter tool that has an output schema, the description covers what the output contains, the need_more_info round-trip, and the compliance constraint on claims, so an agent can call it correctly. The only gap is the lack of routing guidance to related tools such as corporate_gift or same_budget_choices.

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 86%, so the baseline is 3, but the description adds the important non-obvious usage rule that an agent can pass either only text (the customer's raw words) or the discrete who/occasion/budget fields. That input-mode choice cannot be inferred from the schema, where every field is optional, so it adds genuine meaning.

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 verb and resource: it selects 3–6 in-stock pieces based on recipient, occasion and budget, and returns reasons plus a card message. It is clearly a recommendation tool, not a search or order tool, but it never names a sibling such as shop_advisor or same_budget_choices, so an agent must infer the boundary from the examples alone.

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?

"什么时候用" gives four concrete trigger examples (father's birthday, business opening, girlfriend's birthday, baby full-month), which makes the usage context unambiguous. It does not state when not to use this tool or how it differs from a generic shop_advisor, so the middle tier of guidance is present but the exclusion and alternative guidance is missing.

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.

Resources