Skip to main content
Glama

独行录 / opcmenu

发布需求

create_need

登录;须确认title/detail后发真实公开需求,异步匹配/推送。标题3~120字写具体;contextType/contextId成对且本人对象,图先镜像。→get_need_recommendations→get_creator/contact_need;改update_need。

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": {
      "type": "<type>",
      "title": "<title>"
    },
    "name": "create_need"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYes需求类型:EXPERIENCE(寻找产品/作品) | QA(答疑求助) | RESOURCE(介绍资源) | COLLAB(寻求合作) | FINANCING(融资需求) | CHAT(找人聊聊找灵感) | GIG(兼职招募) | OTHER(其它)
titleYes需求标题,一句话说清要什么
detailNo详情:背景/具体要什么/什么样算合适,越具体越好
imagesNo配图 URL(先用 upload_image_from_url 镜像),最多 9 张
contextIdNo挂载对象 id,与 contextType 配对
contextTypeNo与contextId配对:product本人产品/activity活动/user某人/goal本人参与目标;目标招募另有create_goal_recruit_need

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / contextType / description
      Previous value: -"挂载对象类型,与 contextId 配对:product=自己的产品/activity=活动/user=某人/goal=自己参与的合作目标(目标招募位,另有 create_goal_recruit_need 专用口)"New value: +"与contextId配对:product本人产品/activity活动/user某人/goal本人参与目标;目标招募另有create_goal_recruit_need"
  2. Changed5 schema fields changed
    • changedInput schema / properties / contextId / description
      Previous value: -"挂载对象 id,与 contextType 配对"New value: +"挂载对象 id,与 contextType 配对"
    • changedInput schema / properties / contextType / description
      Previous value: -"挂载对象类型,与 contextId 配对:product=自己的产品 / activity=活动 / user=某人 / goal=自己参与的合作目标(目标招募位,另有 create_goal_recruit_need 专用口)"New value: +"挂载对象类型,与 contextId 配对:product=自己的产品/activity=活动/user=某人/goal=自己参与的合作目标(目标招募位,另有 create_goal_recruit_need 专用口)"
    • changedInput schema / properties / detail / description
      Previous value: -"详情:背景 / 具体要什么 / 什么样算合适,越具体越好"New value: +"详情:背景/具体要什么/什么样算合适,越具体越好"
    • changedInput schema / properties / images / description
      Previous value: -"配图 URL(先用 upload_image_from_url 镜像),最多 9 张"New value: +"配图 URL(先用 upload_image_from_url 镜像),最多 9 张"
    • changedInput schema / properties / title / description
      Previous value: -"需求标题,一句话说清要什么"New value: +"需求标题,一句话说清要什么"
  3. Changed2 schema fields changed
    • changedInput schema / properties / contextType / anyOf
      Previous value: -[
      -  {
      -    "enum": [
      -      "product",
      -      "activity",
      -      "user"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "enum": [
      +      "product",
      +      "activity",
      +      "user",
      +      "goal"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / contextType / description
      Previous value: -"挂载对象类型,与 contextId 配对"New value: +"挂载对象类型,与 contextId 配对:product=自己的产品 / activity=活动 / user=某人 / goal=自己参与的合作目标(目标招募位,另有 create_goal_recruit_need 专用口)"
  4. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare destructiveHint=false, so the description carries the behavioral burden and does add real context: an authentication requirement, publication of a genuinely public need, and asynchronous matching/push after creation. It leaves open whether the need goes live immediately or enters a draft/review state, and what happens if validation fails.

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?

Very compact and front-loaded: constraints first, then the follow-up chain, then the alternative tool. The telegraphic, punctuation-heavy style (semicolons and arrows) borders on note form and costs some readability, but no sentence is wasted.

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 6-parameter creation tool with no output schema, the definition covers preconditions (login, title/detail confirmation), field constraints, ownership rules for context attachment, and what to call next. What it lacks is the post-creation outcome and the terminal states available via the cancel/complete/unpublish siblings, so an agent knows what to do after a successful post.

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 coverage is already 100%, so the schema does the heavy lifting for every parameter, including the type enum and the image-mirroring hint. The description restates the title length and the mirror-first image rule, and adds one genuinely new constraint — that contextType/contextId must point to objects the caller owns (本人对象) — which earns it slightly above a pure baseline.

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: publish a real, public need (发真实公开需求), and distinguishes it from the modification sibling by directing changes to update_need. The enum in the type parameter further clarifies the topical framing, though the phrase '须确认title/detail后发' is elliptical enough that a reader must infer the exact publish semantics.

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?

Strong routing information: it names the follow-up chain (→get_need_recommendations→get_creator/contact_need) and explicitly says to use update_need for modifications. A login precondition is stated, but there is no explicit when-not-to-use guidance (e.g., when to prefer create_goal_recruit_need, which appears only in the schema's contextType description).

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