Skip to main content
Glama

独行录 / opcmenu

接洽需求(找他聊聊)

contact_need
Idempotent

登录;确认在架需求对象/可选message≤2000字后真实开聊认领/发送;无名额限制。认领幂等、message每次真发。本人400/不存在404/关闭409/额度429禁重试。get_need→contact_need→get_conversation_needs/send_message→双方complete_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": {
      "needId": "<needId>"
    },
    "name": "contact_need"
  }
}

Input Schema

NameRequiredDescriptionDefault
needIdYes需求 id,从 list_needs_feed/search_needs/get_need 拿
messageNo可选纯文本:建会话后以本人身份发首句;省略仅建会话不发消息

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / message / description
      Previous value: -"可选:会话建立后以你的名义发出的第一句话(纯文本)。不传则只建会话、不发任何消息"New value: +"可选纯文本:建会话后以本人身份发首句;省略仅建会话不发消息"
  2. Changed2 schema fields changed
    • changedInput schema / properties / message / description
      Previous value: -"可选:会话建立后以你的名义发出的第一句话(纯文本)。不传则只建会话、不发任何消息"New value: +"可选:会话建立后以你的名义发出的第一句话(纯文本)。不传则只建会话、不发任何消息"
    • changedInput schema / properties / needId / description
      Previous value: -"需求 id,从 list_needs_feed / search_needs / get_need 拿"New value: +"需求 id,从 list_needs_feed/search_needs/get_need 拿"
  3. Changed1 schema field changed
    • addedInput schema / properties / message
      Added value: +{
      +  "description": "可选:会话建立后以你的名义发出的第一句话(纯文本)。不传则只建会话、不发任何消息",
      +  "maxLength": 2000,
      +  "minLength": 1,
      +  "type": "string"
      +}
  4. First observed

TDQS

A4.1/5.0
Behavior4/5

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

The description adds substantial behavioral detail beyond the idempotentHint/destructiveHint annotations: login requirement, a precise error map (400 own need, 404 missing, 409 closed, 429 quota with '禁重试'), no quota limit, and the critical nuance that the claim is idempotent while the message is really sent on every call. It does not say what a successful response contains.

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?

The description is telegraphic and front-loaded with the login precondition and the on-shelf requirement, and no sentence is padded. The dense clause chaining and arrow notation reduce readability, but each clause carries useful 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 two-parameter mutation tool with no output schema, the description covers preconditions, error semantics, idempotency, and the surrounding workflow well. It is slightly incomplete because it never says what the call returns, such as a conversation id.

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 100% and both parameters are documented in the schema, so the baseline is 3. The description's mention of '可选message≤2000字' only restates the schema, though 'message每次真发' adds real meaning about repeated-send behavior.

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 states a concrete verb and resource in '真实开聊认领/发送', namely that the tool opens a real conversation and claims or messages the need. It also distinguishes itself from siblings by placing itself in an explicit chain: get_need → contact_need → get_conversation_needs/send_message → complete_need.

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 gives clear prerequisites: login is required and the target need must be '在架' (on-shelf/active). The pipeline notation tells the agent to call get_need first and to use send_message/get_conversation_needs afterwards. It stops short of an explicit 'do not use this when X, use Y instead' exclusion, though the chain implies one.

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