Skip to main content
Glama

Offer My Setup to a Friend

share_with_friend
Destructive

Offers the user's own setup snapshot to a friend (recipientHandle) with the given scopes, an optional duration and an optional message. The friend accepts or declines in their inbox; nothing is shared until they accept. Never-share scopes are removed before saving. Returns the offer. [Bearer scope: trust:invite]

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": {
      "recipientHandle": "<recipientHandle>",
      "scopes": "<scopes>"
    },
    "name": "share_with_friend"
  }
}

Input Schema

NameRequiredDescriptionDefault
scopesYes
messageNoOptional note to the recipient saying what is offered and why.
durationSecondsNo
recipientHandleYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Adds real context beyond the annotations: nothing is shared until the recipient accepts, never-share scopes are stripped before saving, the call returns the offer, and it requires the trust:invite bearer scope. It does not explain why the call is flagged destructive (e.g. whether a pending offer can be revoked or expires), leaving one gap against the destructiveHint=true annotation.

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?

Three tight sentences, front-loaded with the action and resource, followed by the acceptance caveat and the scope-stripping detail. Every sentence carries information; only the bracketed auth note is slightly tacked on.

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 four-parameter mutation with no output schema, the description covers what is created (a pending offer), when it takes effect (on acceptance), the safety trimming of never-share scopes, and the return value. What remains missing is revocation/expiry behavior and scope vocabulary, which are secondary for correct invocation.

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 only 25%, so the description has to compensate. It does clarify recipientHandle as a friend handle and describes scopes, duration and message as part of the offer, but gives no semantics for scope values, valid duration range, or handle format, so it only partially fills the 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: offers the user's own setup snapshot to a friend identified by recipientHandle, with scopes, duration and message. The pending-offer semantic is clear, but it does not name how it differs from siblings like recommend_to_friend or request_setup_share, leaving the agent to infer the distinction.

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?

Usage is implied rather than stated: the description explains the acceptance flow ('the friend accepts or declines in their inbox') which suggests this is a proactive offer, but there is no explicit 'use this when... instead of X' guidance against the several sibling share/request tools.

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