Sent Contacts

sentdm/sent-plugin/packages/sent/skills/sent-contacts

作者 sentdme3d91640fb6f48601c17ddb4ff3df2d3a5f81d6f无许可证48 个星标收录于 2026年10月9日更新于 2026年10月9日仓库6天前更新

Lists, finds, inspects, bulk-creates, summarizes, or deletes Sent contacts with the Sent MCP tools. Use when a user asks to search contacts, get a contact by ID, import or deduplicate a contact list, review a contact's messaging summary, remove a contact, or manage direct contact records. Requires confirmation gates for creates and deletes.

AI 生成的概览

通过 MCP 工具管理 Sent 联系人:列出、查找、批量创建、汇总和删除联系人记录。

功能
指导智能体使用 contacts.list、contacts.get、contacts.create_many、contacts.delete 和 contacts.message_summary 这些 MCP 工具操作 Sent 联系人。内容涵盖连接与范围检查、读取操作、带本地校验和去重的批量创建、删除单个已解析联系人,以及结果汇报。在任何创建或删除变更前,它都会强制要求预览和明确确认。
适用场景
当用户要求搜索联系人、按 ID 获取联系人、导入或去重联系人列表、查看某联系人的消息摘要、删除联系人,或以其他方式管理直接联系人记录时使用。
运行要求
需要 Sent MCP 工具,以及由客户端管理的 OAuth 2.1/PKCE 授权,并具备组织或 Sender Profile 授权范围。不附带脚本,仅为指令。

Sent Contacts

Operate contacts with contacts.list, contacts.get, contacts.create_many, contacts.delete, and contacts.message_summary.

Establish connection and scope

Use client-managed OAuth 2.1/PKCE. Never request or expose a token, API key, authorization header, client ID, or secret. Before a mutation, surface the active organization and Sender Profile from the connection context; if either is unavailable, use sent-account-readiness to inspect the authorized scope.

Mask phone numbers where practical. Return only the contact fields needed for the task, and do not repeat contact data after it has been reviewed. Number presence or messaging history does not establish consent.

An organization grant may select an owned Sender Profile with the tool schema's optional profileId; omit it to act as the authenticated account. Validate ownership with sender_profiles.list or sender_profiles.get, and use the same selector for preflight reads, mutations, and follow-up reads. Profile grants cannot use this selector. Reauthorize for a different organization or a profile outside the grant. Never invent scope fields or request credentials.

Read contacts

  • Use contacts.list to search or page through contacts. Apply the narrowest available filter and do not dump an entire contact book unnecessarily.
  • Use contacts.get when an exact contact identifier is known or before a delete.
  • Use contacts.message_summary for the contact's messaging summary. Distinguish summary data from proof of consent or current reachability.

Read-only calls do not require mutation confirmation.

Create contacts in bulk

  1. Validate and deduplicate the proposed records locally. Preserve only fields the user actually supplied.
  2. Build the exact contacts.create_many arguments without calling the tool.
  3. Show a payload preview with the selected organization, Sender Profile, record count, duplicate handling, and each exact target. Mask phone numbers where the operator can still verify them; reveal full values once only when exact verification requires it.
  4. Ask for explicit confirmation for this exact batch. Earlier or general approval is not sufficient.
  5. Call contacts.create_many immediately after confirmation. Any change to the records or scope invalidates confirmation.

Never call contacts.create_many without a preview and explicit confirmation immediately before the call. Treat every retry as a new mutation with a fresh preview and new explicit confirmation.

Delete a contact

  1. Resolve the requested contact to one unambiguous identifier.
  2. Fetch the exact target first with contacts.get. Never delete from a guessed identifier, broad filter, or stale list result.
  3. Show a delete preview containing the selected organization, Sender Profile, exact contact identifier, display label, and masked address. State that deletion is destructive.
  4. Ask for explicit confirmation to delete that exact target.
  5. Call contacts.delete immediately after confirmation. If the target, scope, or record changes, fetch it again and repeat the preview.

Never call contacts.delete without fetching the target and obtaining explicit confirmation immediately before the call. Every retry requires another fetch, a fresh preview, and new explicit confirmation.

Report results

Report counts and stable identifiers, not full contact records. If a create or delete outcome is ambiguous, do not assume success and do not retry automatically. Re-read the exact target when possible, explain the uncertainty, and require a new confirmation before any further mutation.

来源与署名

来源:sentdm/sent-plugin位于packages/sent/skills/sent-contacts提交e3d9164

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架