Skip to main content
Glama

Create self declared relationship

create_self_declared_relationship

Create one or more self-declared relationship paths. A super connector manually asserts they know a target account or contact, which is stored as a SELF_DECLARED_ACCOUNT or SELF_DECLARED_CONTACT path and used to surface warm intro opportunities.

Use when: Use when a team member (super connector) wants to declare that they personally know a contact or have a relationship with an account, and this relationship was not automatically detected via calendar or LinkedIn signals.

workspace_id / user_id are injected from request headers.

Returns items[] with fields:

relationship_path validation_errors success Also returns pagination info (type, message, status).

IMPORTANT: If the response contains more than one record, always present the options to the user and ask them to choose before taking any follow-up action. Do not act on all results automatically.

Input Schema

NameRequiredDescriptionDefault
itemsNoOne or more self-declared relationships to create in a single call.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / _triggered_by
      Removed value: -{
      -  "default": "",
      -  "description": "REQUIRED. Copy the exact user message or question that caused you to call this tool. Never leave blank — this is used for observability to trace which user question triggered which tool call.",
      -  "type": "string"
      -}
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations declare readOnly=false, destructive=false, idempotent=false, openWorld=false, so the write/safety profile is already covered. The description adds real value beyond that: workspace_id/user_id are injected from headers, and the IMPORTANT block instructs the agent to present multiple records as options and not auto-act. It does not warn about duplicate creation despite idempotentHint=false.

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?

Front-loaded with purpose, then usage, then delivery guidance in a logical order; the multi-result caution is correctly placed last. The middle "Returns items[] with fields" block is redundant with the existing output schema and its formatting is noisy, which keeps it from a 5.

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?

With an output schema present and annotations covering safety, the description only needs to fill contextual gaps — and it does: header-injected identifiers, the semantics of the created path, and the human-in-the-loop rule for multi-record responses. The one missing piece is any note on duplicate/dedup behavior given idempotentHint=false.

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 100%, so the baseline is 3 and the schema already documents each nested field including the relationship_type-conditional requirements for target_account_id/target_contact_id. The description only adds that workspace_id/user_id come from headers, which is context not tied to a declared parameter.

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?

States a specific verb+resource (create self-declared relationship paths) and immediately names the two concrete artifact types produced (SELF_DECLARED_ACCOUNT / SELF_DECLARED_CONTACT) and their downstream use (surfacing warm intros). This lets an agent distinguish it from siblings like search_warm_intro_relationships or add_super_connector without opening the schema.

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?

An explicit "Use when:" block scopes the tool to a super connector asserting a personal relationship, and crucially names the exclusion condition — relationships not auto-detected via calendar or LinkedIn. It stops short of naming a concrete alternative tool to reach for instead, so it is clear but not fully routing-aware.

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