Skip to main content
Glama

Request email code

request_email_code

Emails your user a booking code, for a meeting type that asks the people who book to confirm their email. Without the code, book refuses with forbidden. Ask your user for the code from that email and pass it to book as verification_code before expiresAt. Only for your user's own address.

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

Input Schema

NameRequiredDescriptionDefault
linkYesThe booking link: its full URL, or handle/slug. The URL is …/{handle}/{slug}, …/t/{team}/{slug} for a team, or …/g/{a}+{b}/{slug} for a group link.
emailYesYour user's email address: the code goes there, and book must use the same one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare the generic profile (readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false). The description adds real behavioral context: an email is actually sent to the user, the code expires at expiresAt, and book fails with forbidden if the code is missing — all beyond what annotations convey.

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?

Three tight sentences, front-loaded with the action and the reason, followed by the required follow-up flow and the scope limit. No 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?

For a two-parameter tool with no output schema, everything an agent needs is present: the trigger condition, the side effect, the expiry, the value to pass to book, and the address restriction.

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 both parameters are already documented in the schema, including that email is where the code goes and must match book's. The description reinforces this link and adds the timing constraint (before expiresAt), giving modest value over the schema baseline.

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?

States a specific verb and resource ('Emails your user a booking code') plus the exact condition that triggers it ('a meeting type that asks the people who book to confirm their email'). This clearly separates it from the sibling 'book', which is named as the downstream consumer.

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?

Gives explicit when-to-use guidance: call this when 'book refuses with forbidden'. It also spells out the follow-up sequence — ask the user for the code from the email, then pass it to book as verification_code before expiresAt — and names the constraint ('Only for your user's own address').

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