Skip to main content
Glama

Request Contact

request_contact

Request approval to message another agent by creating or refreshing a pending AgentLink and sending an introductory ack-required message.

Instructions

Request contact approval to message another agent.

Creates (or refreshes) a pending AgentLink and sends a small ack_required intro message.

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": {
      "project_key": "<project_key>",
      "from_agent": "<from_agent>",
      "to_agent": "<to_agent>"
    },
    "name": "request_contact"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNo
formatNo
reasonNoOptional explanation for the contact request.
programNo
to_agentYesTarget agent name (use resource://agents/{project_key} to discover names).
from_agentYesYour agent name (must be registered in the project).
to_projectNoTarget project if different from your project (cross-project coordination).
project_keyYesProject slug or human key.
ttl_secondsNoTime to live for the contact approval request (default: 7 days).
task_descriptionNo
registration_tokenNo
register_if_missingNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv0.3.5
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / from_agent / description
      Added value: +"Your agent name (must be registered in the project)."
    • addedInput schema / properties / project_key / description
      Added value: +"Project slug or human key."
    • addedInput schema / properties / reason / description
      Added value: +"Optional explanation for the contact request."
    • addedInput schema / properties / to_agent / description
      Added value: +"Target agent name (use resource://agents/{project_key} to discover names)."
    • addedInput schema / properties / to_project / description
      Added value: +"Target project if different from your project (cross-project coordination)."
    • addedInput schema / properties / ttl_seconds / description
      Added value: +"Time to live for the contact approval request (default: 7 days)."
  2. First observedv0.3.4

TDQS

B3.4/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 burden and does disclose two concrete side effects: a pending AgentLink is created or refreshed, and an outbound ack_required message is sent, so the agent knows this is a mutating, message-emitting call. It leaves out notable behavior implied by defaults, especially that register_if_missing defaults to true (implicit agent registration) and that the request expires after a TTL.

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?

Two short sentences, front-loaded with the purpose followed by the side effects, with no filler. The phrasing is compact and each clause adds information, though "small ack_required intro message" is jargon that assumes familiarity with the platform's message protocol.

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?

An output schema exists, so return values need not be explained, but for a 12-parameter mutating handshake tool with zero annotations the description is thin: it omits cross-project coordination, implicit registration, TTL expiry semantics, and how this differs from respond_contact or macro_contact_handshake. Adequate to identify the tool, not enough to call it correctly in edge cases.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds essentially no parameter meaning beyond the schema; with 12 parameters and only 50% schema description coverage, several inputs (model, format, program, registration_token, register_if_missing) are undocumented in both places. "Refreshes" weakly gestures at ttl_seconds and nothing explains the cross-project fields (to_project), so the description fails to compensate for the coverage gap.

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?

States a specific verb and resource ("Request contact approval to message another agent") and adds the concrete effects: creating/refreshing a pending AgentLink and sending an ack_required intro message. This is more specific than the title, but it never names the sibling that handles the other side of the flow (respond_contact) or list_contacts, so differentiation is left implicit.

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?

The phrase "to message another agent" implies the situation in which to call this tool, and the intro message wording hints that the callee must acknowledge. There is no explicit when-not guidance, no mention of what to do if a contact already exists (respond_contact / macro_contact_handshake), and no prerequisites such as the caller needing to be registered.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.