Skip to main content
Glama

Draft an invitation to one known HTTPS target (never sent)

prepare_outbound_invitation

Use when you have one specific public HTTPS target and want a ready-to-review invitation draft. It is never sent; sending stays human-authorized (see outbound_gateway_policy). For a general agent-to-agent need use agent_collaboration_request.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "target": "https://example.org/a2a",
      "agentId": "agent-example-01",
      "message": "Public interoperability invitation.",
      "permissionBasis": "public_machine_endpoint"
    },
    "name": "prepare_outbound_invitation"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYesHTTPS target URL. Private/local targets are rejected.
agentIdNoOptional public-safe agent identifier. When supplied it is bound into the exact action digest.
messageYesPublic-safe invitation text; no secrets or personal data.
permissionBasisYesDocumented basis for preparing the candidate.
operatorOrganizationIdentifierNoOptional public-safe operator/organization identifier; do not send personal data.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "message": "Public interoperability invitation.",
      -    "permissionBasis": "public_machine_endpoint",
      -    "target": "https://example.org/a2a"
      -  }
      -]New value: +[
      +  {
      +    "agentId": "agent-example-01",
      +    "message": "Public interoperability invitation.",
      +    "permissionBasis": "public_machine_endpoint",
      +    "target": "https://example.org/a2a"
      +  }
      +]
    • addedInput schema / properties / agentId
      Added value: +{
      +  "description": "Optional public-safe agent identifier. When supplied it is bound into the exact action digest.",
      +  "maxLength": 128,
      +  "minLength": 1,
      +  "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$",
      +  "type": "string"
      +}
    • addedInput schema / properties / operatorOrganizationIdentifier
      Added value: +{
      +  "description": "Optional public-safe operator/organization identifier; do not send personal data.",
      +  "maxLength": 128,
      +  "minLength": 1,
      +  "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$",
      +  "type": "string"
      +}
  2. Changed10 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "message": "Public interoperability invitation.",
      +    "permissionBasis": "public_machine_endpoint",
      +    "target": "https://example.org/a2a"
      +  }
      +]
    • addedInput schema / properties / message / description
      Added value: +"Public-safe invitation text; no secrets or personal data."
    • addedInput schema / properties / message / maxLength
      Added value: +1500
    • addedInput schema / properties / message / minLength
      Added value: +1
    • addedInput schema / properties / permissionBasis / description
      Added value: +"Documented basis for preparing the candidate."
    • addedInput schema / properties / target / description
      Added value: +"HTTPS target URL. Private/local targets are rejected."
    • addedInput schema / properties / target / format
      Added value: +"uri"
    • addedInput schema / properties / target / maxLength
      Added value: +2048
    • addedInput schema / properties / target / minLength
      Added value: +9
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "description": "Structured JSON result returned in structuredContent.",
      +  "type": "object"
      +}
  3. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=false and destructiveHint=false; the description adds the crucial context that this only produces a reviewable draft and that sending stays human-authorized via outbound_gateway_policy, which reconciles the apparent tension of a non-read-only tool that performs no network send. It does not say where the draft is stored or who can see it, so it stops short of full behavioral disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences: usage trigger first, the never-sent/human-authorized guarantee second, the alternative third. Every sentence carries decision-relevant information and the policy cross-reference is compact rather than paraphrased.

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?

An output schema exists, so return values need not be explained, and the safety profile is largely covered by annotations plus the 'never sent' statement. What remains thin is what happens on rejection (e.g., private/local targets) and what artifact the caller receives to review, though the schema's target description partially covers the former.

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 target, message, permissionBasis, agentId and operatorOrganizationIdentifier are all already documented with formats, lengths and enum values. The description only echoes the 'one specific public HTTPS target' constraint and adds no new meaning (e.g., how permissionBasis affects eligibility or what the action digest binding implies). Baseline 3 applies when the schema carries the load.

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 and resource ('preparing a candidate' / invitation draft) bounded to exactly 'one specific public HTTPS target', and the title reinforces the 'never sent' scope. An agent can distinguish it from agent_collaboration_request without opening either 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?

Gives an explicit positive condition ('one specific public HTTPS target', 'ready-to-review draft') and an explicit routing exclusion to the named sibling agent_collaboration_request for general agent-to-agent needs. Nothing about selection is left to inference.

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