Skip to main content
Glama

Invite friends by email

invite_by_email
Idempotent

Invites people to LFG Alarm by email, with no link needed. Someone not on LFG yet gets an invitation email with the person's referral link (they both get a gift when the friend joins); someone already on LFG gets a friend request instead. Works only for people who have the LFG Alarm app on their phone; otherwise it says so, and the person shares their invite link instead (get_invite_card). Up to 10 addresses at a time. Each person can have up to 10 invitation emails sent a day, and each address is emailed only once for good. Each address comes back with what happened to it; past the limit, give the person their invite link to share instead (get_invite_card). To add someone to a link, put them on that link instead.

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": {
      "emails": "<emails>"
    },
    "name": "invite_by_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailsYesThe email addresses to invite, as the person gave them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Beyond the annotations (openWorld, non-destructive, idempotent, not read-only), the description discloses rate limits (10 addresses per call, 10 emails per person per day), the permanent once-per-address rule, branching outcomes for existing vs. new users, and a prerequisite (recipient must have the app). It does not describe error behavior for malformed addresses or what the per-address result payload contains.

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

Conciseness3/5

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

Content is front-loaded and dense, but it is a single run-on block with a redundant second mention of get_invite_card for the limit case that repeats the earlier app-requirement fallback. The two get_invite_card instructions could be merged into one sentence without losing meaning.

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 one-parameter mutation with no output schema, the definition covers prerequisites, rate limits, permanence of the once-only rule, the two possible outcomes, and that results come back per address. Nothing an agent needs to call it correctly or advise the user afterward is missing.

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% for the single parameter, so the baseline is 3, and the description earns above that by clarifying the 10-address ceiling in context and that addresses are taken "as the person gave them" rather than normalized. It does not discuss duplicate entries within one array or invalid-format handling.

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 opening sentence names a specific verb and resource ("Invites people to LFG Alarm by email, with no link needed") and immediately distinguishes itself from the link-based sibling get_invite_card. It also draws a boundary against link-adding via "To add someone to a link, put them on that link instead."

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?

Explicit routing is given: use this when you have email addresses; when the recipient lacks the app or the sender is over the daily limit, fall back to get_invite_card; when the goal is to attach someone to a link, use that link instead. Both the when and the when-not are stated with named alternatives.

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.