Skip to main content
Glama

Share app by link

share_app_by_link

Makes a new share link for an app: anyone who holds the URL can open it with no sign-in and save in it, never change it. For when the person asks for a link to pass on. Returns share_url, which people open while the app's own URL stays private, and a link_id, which stopping that link later needs: the URL will not do. expires takes never, 24h or 7d, so the link stops working on its own; omitted means 7d. Making a link twice yields two live links, so a call that timed out may have made one; get_access shows it.

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_id": "<app_id>"
    },
    "name": "share_app_by_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idYesthe app to make a link for, from a reply or list_apps
expiresNoone of never, 24h or 7d; omit means 7d

Output Schema

NameRequiredDescriptionDefault
link_idYesthis link's id. Stopping the link later needs it, and the URL will not do
share_urlYesthe link people open; the app's own URL stays private
expires_atNowhen the link stops working, RFC3339; omit or null means it does not expire on its own

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag idempotentHint=false and openWorldHint=true, and the description converts those into actionable behavior: calling twice yields two live links, so a timed-out call may already have created one, and get_access is the way to check. It also discloses that the app's own URL stays private and that only link_id (not the URL) can later stop the link.

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 and information-dense, with the access model first and the return-value and duplicate-call caveats after. The colon-chained clauses make it slightly dense to scan, but no sentence is filler.

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?

Covers everything an agent needs: what the link grants, what the return fields mean for follow-up revocation, expiry defaults, and non-idempotency risk. The output schema exists, yet the description's explanation of share_url vs link_id adds genuine operational value rather than duplicating it.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: expires means the link stops working on its own and defaults to 7d when omitted, and app_id is sourced from a reply or list_apps. That goes beyond restating the enum.

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?

Opens with a specific verb and resource ("Makes a new share link for an app") and immediately defines the access model the link grants: no sign-in, can save but never change. That distinguishes it plainly from revoke_app_link and get_access without the reader opening any 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?

Gives a clear trigger ("For when the person asks for a link to pass on") and routes the agent to get_access when it needs to see whether a link already exists. It does not name revoke_app_link as the counterpart when the intent is to stop sharing, so the negative case is left implicit.

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.