Skip to main content
Glama

contact.create

contact_create

[需要登录] 创建家属临时联系人。relation 必填,self 由系统创建;姓名、手机号、证件号可后补。

鉴权:需要用户登录令牌,或已经绑定用户的云市场实例凭证。未登录调用返回 401;云市场实例未绑定用户时返回 code=40003 和 data.bindUrl。

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": {
      "relation": "<relation>"
    },
    "name": "contact_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
IDTypeNo
genderNo
maritalNo
birthdayNo
relationYes
customerIDNo
customerNameNo
customerMobileNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does substantial work: it discloses the login-token / bound cloud-marketplace credential requirement and two concrete failure modes (401 unauthenticated, code=40003 with data.bindUrl when the instance is unbound). It still omits duplicate-handling, reversibility and what the call returns.

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

Conciseness5/5

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

Two tight paragraphs with the login tag and the create action front-loaded, then the auth/error block. Every sentence — required field, system-created self, backfillable fields, auth methods, error codes — carries information the agent needs.

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?

Auth and failure behavior are unusually well covered for a tool with no annotations and no output schema, which is the highest-risk part of calling it. However, with 8 parameters at 0% schema coverage, the description leaves half the input surface undefined, and it gives no sense of the returned object identity an agent would need for follow-up calls.

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 description coverage is 0% across 8 parameters, so the description must compensate and only partly does: it flags relation as required (matching the schema) and gives real semantic value by saying customerName, customerMobile and IDType are optional and can be backfilled later. gender, marital, birthday and customerID are left completely unexplained in both schema and description.

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 verb and resource (创建家属临时联系人 / create a temporary family contact) and adds a scope detail — relation is required and 'self' is system-generated. This separates it from read-side siblings like contact_get and contact_list, though it never names a sibling or states an explicit alternative.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than stated: the note that name, mobile and ID number can be filled in later tells the agent a partial create is acceptable (presumably followed by contact_update), and 'self is created by the system' warns against trying to create it. There is no explicit when-to-use / when-not-to-use guidance against contact_update or corp_contact.

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