Skip to main content
Glama

Share an app

share_app
Idempotent

Share a published app with an email, as one of its roles: it waits until they sign in with that email and accept it. Only when the person asks for it in this conversation.

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": {
      "app": "<app>",
      "email": "<email>"
    },
    "name": "share_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesThe app, as list_apps names it, such as sam/budget.
roleNoLeave it out when the app has one role or none.
emailYesSuch as ana@example.com.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4/5.0
Behavior4/5

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

Annotations already mark this as a non-read-only, idempotent, non-destructive, closed-world mutation. The description adds real value beyond that by disclosing the pending-invitation lifecycle: the share does not take effect until the recipient signs in with that email and accepts. It does not say what is returned or how the pending share can be cancelled.

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 with the action and recipient front-loaded and the usage restriction last; nothing is padding. The colon-joined clauses and the pronoun 'it' for the share itself make the phrasing slightly denser than necessary.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter mutation with full annotation coverage and no output schema, the description supplies the action, the prerequisite (published app), the asynchronous acceptance semantics and the invocation restriction. Nothing an agent needs in order to call it correctly appears to be 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 description coverage is 100%, so app, role and email are already documented, including the app naming format and the guidance to omit role for single- or no-role apps. The description adds only the framing that the role is one of the app's existing roles; baseline 3 is appropriate.

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 (share a published app) plus the two identifying inputs (email, role). The phrase 'it waits until they sign in with that email and accept it' implicitly separates the caller's action from the recipient-side accept_share, but no sibling is named explicitly.

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?

Gives an explicit gating condition: 'Only when the person asks for it in this conversation,' which prevents proactive sharing. It also implies the app must be already published. It stops short of naming alternatives (e.g., revoke_share for undoing, issue_token or ask_for_app_file for other access paths).

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