Skip to main content
Glama

KAT / 한국AI통신

연락처에 활동 기록 남기기

add_contact_activity
Idempotent

전달받은 대화 메모나 이메일·명함 요약을 연락처에 저장해요.

논의 메모나 호출자가 전달한 이메일·명함 요약을 연락처 타임라인에 저장합니다. 메모에는 고정 요청 ID, 외부 활동에는 출처 또는 고정 요청 ID를 사용하세요. 메일함을 직접 조회하지 않습니다.

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": {
      "activity": "<activity>"
    },
    "name": "add_contact_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
activityYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / activity / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "bodyText": {
      -        "maxLength": 20000,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "kind": {
      -        "const": "note",
      -        "type": "string"
      -      },
      -      "occurredAt": {
      -        "format": "date-time",
      -        "type": "string"
      -      },
      -      "participants": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "contactId": {
      -              "format": "uuid",
      -              "type": "string"
      -            },
      -            "role": {
      -              "default": "related",
      -              "enum": [
      -                "related",
      -                "sender",
      -                "recipient",
      -                "cc"
      -              ],
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "contactId"
      -          ],
      -          "type": "object"
      -        },
      -        "maxItems": 50,
      -        "minItems": 1,
      -        "type": "array"
      -      },
      -      "requestId": {
      -        "$ref": "#/properties/activity/anyOf/0/properties/participants/items/properties/contactId"
      -      },
      -      "title": {
      -        "maxLength": 256,
      -        "minLength": 1,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "occurredAt",
      -      "participants",
      -      "kind",
      -      "requestId",
      -      "bodyText"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "externalSource": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "accountRef": {
      -            "maxLength": 256,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "itemId": {
      -            "maxLength": 512,
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "provider": {
      -            "pattern": "^[a-zA-Z0-9_-]{1,40}$",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "provider",
      -          "accountRef",
      -          "itemId"
      -        ],
      -        "type": "object"
      -      },
      -      "kind": {
      -        "const": "email",
      -        "type": "string"
      -      },
      -      "occurredAt": {
      -        "$ref": "#/properties/activity/anyOf/0/properties/occurredAt"
      -      },
      -      "participants": {
      -        "$ref": "#/properties/activity/anyOf/0/properties/participants"
      -      },
      -      "requestId": {
      -        "$ref": "#/properties/activity/anyOf/0/properties/participants/items/properties/contactId"
      -      },
      -      "summary": {
      -        "maxLength": 20000,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "title": {
      -        "$ref": "#/properties/activity/anyOf/0/properties/title"
      -      }
      -    },
      -    "required": [
      -      "occurredAt",
      -      "participants",
      -      "summary",
      -      "kind"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "externalSource": {
      -        "$ref": "#/properties/activity/anyOf/1/properties/externalSource"
      -      },
      -      "kind": {
      -        "const": "business_card",
      -        "type": "string"
      -      },
      -      "occurredAt": {
      -        "$ref": "#/properties/activity/anyOf/0/properties/occurredAt"
      -      },
      -      "participants": {
      -        "$ref": "#/properties/activity/anyOf/0/properties/participants"
      -      },
      -      "requestId": {
      -        "$ref": "#/properties/activity/anyOf/1/properties/requestId"
      -      },
      -      "summary": {
      -        "$ref": "#/properties/activity/anyOf/1/properties/summary"
      -      },
      -      "title": {
      -        "$ref": "#/properties/activity/anyOf/0/properties/title"
      -      }
      -    },
      -    "required": [
      -      "occurredAt",
      -      "participants",
      -      "summary",
      -      "kind"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "bodyText": {
      +        "maxLength": 20000,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "kind": {
      +        "const": "note",
      +        "type": "string"
      +      },
      +      "occurredAt": {
      +        "format": "date-time",
      +        "type": "string"
      +      },
      +      "participants": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "contactId": {
      +              "format": "uuid",
      +              "type": "string"
      +            },
      +            "role": {
      +              "default": "related",
      +              "enum": [
      +                "related",
      +                "sender",
      +                "recipient",
      +                "cc"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "contactId"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "requestId": {
      +        "format": "uuid",
      +        "type": "string"
      +      },
      +      "title": {
      +        "maxLength": 256,
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "occurredAt",
      +      "participants",
      +      "kind",
      +      "requestId",
      +      "bodyText"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "externalSource": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "accountRef": {
      +            "maxLength": 256,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "itemId": {
      +            "maxLength": 512,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "provider": {
      +            "pattern": "^[a-zA-Z0-9_-]{1,40}$",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "provider",
      +          "accountRef",
      +          "itemId"
      +        ],
      +        "type": "object"
      +      },
      +      "kind": {
      +        "const": "email",
      +        "type": "string"
      +      },
      +      "occurredAt": {
      +        "format": "date-time",
      +        "type": "string"
      +      },
      +      "participants": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "contactId": {
      +              "format": "uuid",
      +              "type": "string"
      +            },
      +            "role": {
      +              "default": "related",
      +              "enum": [
      +                "related",
      +                "sender",
      +                "recipient",
      +                "cc"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "contactId"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "requestId": {
      +        "format": "uuid",
      +        "type": "string"
      +      },
      +      "summary": {
      +        "maxLength": 20000,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "title": {
      +        "maxLength": 256,
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "occurredAt",
      +      "participants",
      +      "summary",
      +      "kind"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "externalSource": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "accountRef": {
      +            "maxLength": 256,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "itemId": {
      +            "maxLength": 512,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "provider": {
      +            "pattern": "^[a-zA-Z0-9_-]{1,40}$",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "provider",
      +          "accountRef",
      +          "itemId"
      +        ],
      +        "type": "object"
      +      },
      +      "kind": {
      +        "const": "business_card",
      +        "type": "string"
      +      },
      +      "occurredAt": {
      +        "format": "date-time",
      +        "type": "string"
      +      },
      +      "participants": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "contactId": {
      +              "format": "uuid",
      +              "type": "string"
      +            },
      +            "role": {
      +              "default": "related",
      +              "enum": [
      +                "related",
      +                "sender",
      +                "recipient",
      +                "cc"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "contactId"
      +          ],
      +          "type": "object"
      +        },
      +        "maxItems": 50,
      +        "minItems": 1,
      +        "type": "array"
      +      },
      +      "requestId": {
      +        "format": "uuid",
      +        "type": "string"
      +      },
      +      "summary": {
      +        "maxLength": 20000,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "title": {
      +        "maxLength": 256,
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "occurredAt",
      +      "participants",
      +      "summary",
      +      "kind"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Added

TDQS

A3.6/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, and openWorldHint=false. The description adds value beyond that by explaining how idempotency is achieved (a fixed request ID for notes, a source reference or fixed request ID for external activities) and by clarifying that it does not query the mailbox itself. It does not say what happens on a duplicate request ID or what the response contains, which keeps it short of a 5.

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?

It is short and front-loaded, leading with the outcome before the constraints. The first sentence largely restates the opening clause of the second ('대화 메모나 이메일·명함 요약'), which is wasted space, but the total length is small and the important rules are easy to find.

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?

With no output schema and a single but deeply structured parameter, the description covers provenance and idempotency well yet leaves the participant list, timestamp, and required summary fields unexplained. An agent can call it, but may build an invalid payload on the first attempt for any variant other than a bare note.

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 has 0% description coverage over a single parameter containing a three-variant union, so the description carries real weight here. It correctly explains that notes should use requestId whereas email/business-card entries should use externalSource or requestId, but it never mentions participants (1-50 contacts with roles), occurredAt, title, or the difference between bodyText and summary, leaving most of the union shape undocumented.

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 gives a specific verb and resource: it stores a conversation memo or an email/business-card summary onto a contact's timeline. That is unambiguous on its own, but it never distinguishes itself from the sibling tools update_contact_activity, replace_contact_activity_participants, or get_contact_activity, so the reader must infer the add-vs-update boundary from the tool name alone.

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?

'메일함을 직접 조회하지 않습니다' is a genuine scope exclusion: it tells the caller this tool will not fetch mail and that the summary must already be in hand, which is implied usage guidance. However, there is no positive when-to-use condition and no statement of when the update/replace siblings are preferred over this 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