Skip to main content
Glama

独行录 / opcmenu

发起交换联系方式

request_contact_exchange
Idempotent

登录;真人DM真实交换请求,须确认且本人≥1联系,无则no_contact_info→add_profile_link。同意冻结当时快照。本人重复幂等;already_exchanged禁重试,peer_request_pending用respond_contact_exchange。get_contact_exchange_state→确认→请求。

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": {
      "conversationId": "<conversationId>"
    },
    "name": "request_contact_exchange"
  }
}

Input Schema

NameRequiredDescriptionDefault
conversationIdYes会话 id(仅 1-1 会话)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / conversationId / description
      Previous value: -"会话 id(仅 1-1 会话)"New value: +"会话 id(仅 1-1 会话)"
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Going beyond the idempotentHint/destructiveHint annotations, the description discloses that mutual agreement freezes a snapshot taken at that moment, that the requester's own duplicate calls are idempotent, and that specific error states (already_exchanged, no_contact_info, peer_request_pending) must not be retried. This adds real operational context. It omits what the recipient sees and what the confirmation step returns.

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

Conciseness3/5

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

Every clause carries information, so there is no padding, but the description is compressed into a fragmentary chain of Chinese phrases and English error codes that is hard to parse on first read. It also opens with a generic 'login' prerequisite rather than the core action, so it is not front-loaded.

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?

For a mutation-style request tool with no output schema, the description covers prerequisites, error routing, and the snapshot-freeze consequence. However, it does not say what a successful response contains, whether the peer is notified, or what confirmation means from the caller's side. It is adequate but not complete relative to the tool's complexity.

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?

The schema documents its single parameter (conversationId) at 100% coverage, including the 1-1 restriction. The description's mention of a direct-message/real-person context reinforces that restriction but adds no format or usage detail beyond the schema. Baseline 3 applies when the schema does the heavy lifting.

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 names a specific action ( initiating a real exchange-contact request via direct message ) and names the sibling tools that handle adjacent cases (add_profile_link, respond_contact_exchange, get_contact_exchange_state). An agent can distinguish it from those siblings. It loses a point only because the telegraphic phrasing mixes Chinese and error codes, which slightly obscures the statement of purpose.

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?

Prerequisites and exclusions are stated explicitly: the user must have at least one contact (otherwise no_contact_info applies and the agent should use add_profile_link), peer_request_pending means the agent should use respond_contact_exchange instead, and already_exchanged means no retry. It also lays out a workflow sequence (get_contact_exchange_state, then confirm, then request). It lacks a broader 'when not to use' rationale beyond error routing.

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