Skip to main content
Glama

Share an alert with someone

share_alert

Create an invitation link for one email address, the same as Share in the app. Poacher emails no one: give the person the invitation_url and they send it themselves. Only that email address can accept, within 7 days. The recipient sees new results on channels they confirm; the owner keeps paying and the recipient cannot see the criteria, billing or settings. Read the email address back to the person and get their agreement before calling.

Permission: alerts:write.

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": {
      "alert_id": "<alert_id>",
      "email": "<email>"
    },
    "name": "share_alert"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailYesThe email address of the person to invite, exactly as the person gave it.
alert_idYesAlert ID.

Output Schema

NameRequiredDescriptionDefault
dataNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, it discloses the full consequence set: nothing is sent by the server, the invite is single-address and expires in 7 days, the recipient sees only confirmed channels' results, the owner retains billing, and the recipient is blind to criteria and settings. It also states the required permission (alerts:write). The only unstated behavior is whether a second call creates a second link (idempotentHint=false), a minor gap.

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?

Six tight sentences, purpose front-loaded, then consequences, then the procedural instruction, then the permission. No filler and nothing repeated from the annotations.

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 two-parameter share tool with an output schema, everything an agent needs is present: the invite's constraints, what the recipient can and cannot see, who pays, the expiry, and the confirmation ritual before calling.

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?

With 100% schema description coverage, the baseline is 3; the description adds real meaning by stressing the email is a binding identity restricted to that one address for 7 days and should be read back for confirmation, which is more than the schema's 'exactly as the person gave it'.

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?

The description names a concrete verb and resource ('Create an invitation link for one email address') and anchors it to a familiar UI action ('the same as Share in the app'), so an agent can distinguish it from siblings like get_shared_alert or answer_invitation without opening a 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?

It gives clear operating context: no email is dispatched, the caller must hand over invitation_url, the link is bound to one address for 7 days, and the agent should read the address back and get agreement first. It stops short of naming an explicit alternative or a when-not-to-use condition among the share-related siblings.

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