Skip to main content
Glama

独行录 / opcmenu

查交换联系方式状态

get_contact_exchange_state
Read-only

登录;真人DM交换状态/myContacts/canRequest;ACCEPTED当时快照。可请求→确认→request_contact_exchange;peerPending→确认→respond_contact_exchange;无联系add_profile_link。

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

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.8/5.0
Behavior4/5

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

Annotations only say readOnlyHint=true, but the description adds behavior an agent could not infer: login is required, and ACCEPTED is a point-in-time snapshot ('ACCEPTED当时快照') rather than a live guarantee, which implies possible staleness and a need to re-check. It also enumerates the state values that drive downstream routing. What it still omits is the response shape beyond a couple of field paths.

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?

There is essentially zero wasted wording, and the routing rules are the most useful part. However the structure is telegraphic — raw path fragments, slashes, and arrows in a single dense run-on — which reduces readability and makes the state→action branches easy to misparse.

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 one-parameter read-only state check with no output schema, the description covers the essential contract: login requirement, the state fields to inspect, snapshot semantics of ACCEPTED, and what to do for each branch. Only the vendored field semantics of the remaining return fields are left undocumented.

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 the single parameter already documents itself as a conversation id restricted to 1-1 conversations. The description adds no further meaning about the id format, how to obtain it, or error behavior for non-1-1 conversations, so it sits at the baseline where 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?

States the resource precisely: the exchange-contact state of a real-person DM conversation ('真人DM交换状态/myContacts/canRequest'), and names the concrete signals returned (myContacts, canRequest, ACCEPTED). It lacks an explicit verb in the description body (the verb lives in the name/title), but the resource and scope are unambiguous enough to separate it from request_contact_exchange and respond_contact_exchange.

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 an explicit state-to-action mapping: a requestable state leads to confirmation then request_contact_exchange; peerPending leads to confirmation then respond_contact_exchange; no existing link leads to add_profile_link. That is real when/when-next guidance naming the alternatives. It stops short of stating when not to call this tool or any preconditions beyond '登录' (login required).

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