Skip to main content
Glama

Generate magic link

generate_magic_link

Generate a one-time magic sign-in link for a user's email.

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

Input Schema

NameRequiredDescriptionDefault
emailYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

The description adds one genuinely useful trait beyond the annotations: 'one-time', clarifying single-use semantics that complement idempotentHint=false. However, with readOnlyHint=false and openWorldHint=true, the agent still isn't told whether an email is dispatched, how long the link lives, or what permissions are required to mint one.

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?

One sentence, front-loaded with the action and the artifact, with no filler or repetition of the title. Nothing could be removed without losing information.

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

Completeness3/5

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

For a one-parameter tool with no output schema, the definition covers the core but leaves the critical operational question open: does it send the link by email as a side effect, or return the link to the caller? Expiry and failure behavior for unknown emails are also unstated.

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 0% for the single parameter, so the schema contributes nothing beyond the name 'email'. The description clarifies it is 'a user's email' (the target recipient), which is meaningful but does not say whether the address must map to an existing account or how invalid addresses are handled.

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?

The description gives a specific verb and resource ('Generate a one-time magic sign-in link') scoped to 'a user's email', which is far more concrete than the sibling generate_* tools' generic naming would suggest. It stops short of explicitly naming an alternative or contrasting use case, but the purpose is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance: nothing says whether this is for onboarding, password reset, or re-authentication, nor whether the user must already exist or be active. No alternatives or exclusions are mentioned despite a large sibling catalog containing activate_user and session-related 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