Skip to main content
Glama

add_to_network

Idempotent

Add someone to your network. Known (e.g. a search_people hit) → tracked; new → created/imported + tracked. Accepts person_id OR free_form:{name,…} + optional tags. Returns canonical person_id. DEDUPE: a new free_form contact that strongly matches someone you already have returns { created:false, potential_duplicates, confirmation_token } instead of creating — track the existing person, or re-call with the confirmation_token only if it's genuinely someone new.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "add_to_network"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoInitial tags to apply. Prefer an existing tag from your network over coining a near-duplicate (reuse `sf`, don't add `san-francisco`); lowercase, and use the event:/place:/topic: namespaces where they fit.
free_formNoA brand-new contact to create + track. Use when there is no person_id.
person_idNoperson_id of an existing search_people hit to start tracking.
custom_nameNoYour own display name for this person.
confirmation_tokenNoFrom a prior potential_duplicates response — pass it back to create despite the flagged duplicates (only after the user confirms it's a new person).

Output Schema

NameRequiredDescriptionDefault
okYesWhether noticed completed the operation.
dataNoThe operation result when ok is true.
errorNoA human-readable error when ok is false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / relationship_types
      Removed value: -{
      -  "description": "How you know this person, from the closed set: family, close_friend, friend, acquaintance, coworker, alumni, customer, vendor, advisor, investor. Values outside this set are dropped. Coworker and Alumni may be inferred from reliable shared history; all other roles require an explicit user statement. Set it here at add time — no follow-up update_person needed.",
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
  2. Changed1 schema field changed
    • changedInput schema / properties / relationship_types / description
      Previous value: -"How you know this person, from the closed set: family, close_friend, friend, coworker, ex_coworker, advisor_investor, customer, vendor, acquaintance. Values outside this set are dropped. Set it here at add time — no follow-up update_person needed."New value: +"How you know this person, from the closed set: family, close_friend, friend, acquaintance, coworker, alumni, customer, vendor, advisor, investor. Values outside this set are dropped. Coworker and Alumni may be inferred from reliable shared history; all other roles require an explicit user statement. Set it here at add time — no follow-up update_person needed."
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": true,
      +  "properties": {
      +    "data": {
      +      "additionalProperties": true,
      +      "description": "The operation result when ok is true.",
      +      "properties": {
      +        "confirmation_token": {
      +          "type": "string"
      +        },
      +        "created": {
      +          "type": "boolean"
      +        },
      +        "person_id": {
      +          "type": "string"
      +        },
      +        "potential_duplicates": {
      +          "items": {
      +            "additionalProperties": true,
      +            "properties": {
      +              "company": {
      +                "$ref": "#/properties/data/properties/potential_duplicates/items/properties/person_id"
      +              },
      +              "display_name": {
      +                "type": "string"
      +              },
      +              "headline": {
      +                "$ref": "#/properties/data/properties/potential_duplicates/items/properties/person_id"
      +              },
      +              "id": {
      +                "type": "string"
      +              },
      +              "name": {
      +                "type": "string"
      +              },
      +              "person_id": {
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "error": {
      +      "description": "A human-readable error when ok is false.",
      +      "type": "string"
      +    },
      +    "ok": {
      +      "description": "Whether noticed completed the operation.",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "ok"
      +  ],
      +  "type": "object"
      +}
  4. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the mutation and safety profile is largely covered by structured data. The description nonetheless adds genuinely non-derivable behavior: the dedupe branch that returns { created:false, potential_duplicates, confirmation_token } instead of creating, and that the call returns a canonical person_id. It does not discuss permissions, error conditions, or whether tracking is reversible.

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?

The definition is compact and front-loaded: the operation comes first, then the two input modes, then return value, then the dedupe exception. The telegraphic phrasing ("Known → tracked; new → created/imported + tracked") is dense but readable, though the DEDUPE paragraph is long enough to slightly unbalance the whole.

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 five-parameter mutation tool with a nested free_form object and a published output schema, the definition covers the paths an agent must choose between and the non-obvious dedupe recovery flow, without wasting words on return-value shape already captured by the output schema. Minor gaps remain around failure modes and whether network membership can be undone, but nothing needed for a correct first call is missing.

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 every parameter carries its own detailed description, so the schema already does the heavy lifting and a baseline 3 applies. The description's added value is the mutual-exclusivity of person_id versus free_form and the round-trip meaning of confirmation_token, but the tag namespace and formatting guidance lives in the schema, not here. Useful but largely duplicative of structured fields.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a concrete verb and resource ("Add someone to your network") and immediately splits the operation into its two distinct modes: an existing person_id becoming tracked versus a new free_form contact being created and tracked. It also names the sibling that supplies the input data ("e.g. a search_people hit"), so an agent can distinguish it from adjacent network tools without opening a schema.

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

Usage Guidelines5/5

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

It gives explicit selection rules: use the person_id path when the person is already known (e.g. from search_people), use free_form when they are new. It also spells out what to do on a dedupe response — track the existing person, or re-call with the confirmation_token only after the user confirms it is genuinely a new contact — which is exactly the decision point an agent would otherwise get wrong.

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