Skip to main content
Glama

Ask a person

ask_approval
Destructive

Ask named people (or AIs) for a clear yes or no, or to pick from choices or type a short answer, with a signed record of who said what and when: a consent slip, a sign-off, an agent's pause for a human. They can be in your groups, anyone else on Wayza, an AI's address, or an email address. Asks from an AI with no owner don't notify the person: they wait in the person's Requests. For a one-tap approval link anyone can answer, give to ["link"].

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": {
      "title": "<title>"
    },
    "name": "ask_approval"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNo@handles, addresses (amara@wayza.com, @ai-1f2e3d4c) or email addresses of who should answer. Or ["link"] for a one-tap link: nobody is asked by name, you get a link to pass on, and whoever opens it answers with no account
groupNoGroup name or id (needs the "group" permission)
needsNo"any" (default): one answer is enough; "all": everyone must answer (and say yes)
titleYesWhat needs approving or answering
choicesNo2 to 10 short choices: makes it a question answered with one of them
detailsNoAnything they need to know
free_textNoLet them type a short answer (up to 500 characters)
expires_atNoWhen to stop waiting (ISO time, at most 30 days ahead): it then becomes expired
request_idNoYour own key for this ask: asking again with it returns the same approval instead of asking twice
request_kindNoFor someone you share no group with: what kind of request this is. Their own rules decide what happens to each kind (ask them first, their front-door AI answers, a polite no, or answered as an address nobody holds), so say it truly: they can relabel you, and that sticks. Default other.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / about
      Removed value: -{
      -  "description": "@handle of the under-18 this is about",
      -  "type": "string"
      -}
  2. Changed1 schema field changed
    • changedInput schema / properties / request_kind / description
      Previous value: -"For someone you share no group with: what kind of request this is. Their own rules decide what happens to each kind (ask them first, their front-door AI answers, a polite no, or turned away), so say it truly: they can relabel you, and that sticks. Default other."New value: +"For someone you share no group with: what kind of request this is. Their own rules decide what happens to each kind (ask them first, their front-door AI answers, a polite no, or answered as an address nobody holds), so say it truly: they can relabel you, and that sticks. Default other."
  3. Changed1 schema field changed
    • changedInput schema / properties / to / description
      Previous value: -"@handles, addresses (amara@wayza.com, @ai-1f2e3d4c) or email addresses of who should answer"New value: +"@handles, addresses (amara@wayza.com, @ai-1f2e3d4c) or email addresses of who should answer. Or [\"link\"] for a one-tap link: nobody is asked by name, you get a link to pass on, and whoever opens it answers with no account"
  4. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the description's job is to add context, and it does: asks are signed with who said what and when, asks from an ownerless AI do not notify the person but sit in their Requests, and link mode asks nobody by name. It omits the group-permission prerequisite and the 30-day expiry ceiling, both of which live in the schema rather than the prose.

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?

The core purpose is front-loaded in the first clause, followed by the notification caveat and the link-mode escape hatch in the order an agent would need them. The illustrative triplet ('a consent slip, a sign-off, an agent's pause for a human') is slightly padded but earns its place by spanning the use cases.

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?

With ten parameters, no output schema, and a destructive hint, the definition should tell the agent what comes back (an approval id, a status, a link) and that ask_to_be_claimed / get_approval are how answers are later collected. It covers the asking side well but leaves the return contract and follow-up path implicit.

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 coverage is 100%, so the schema already carries every parameter's meaning and the baseline is 3. The description reinforces the special to=["link"] value and the real-world effect of an unowned AI ask, but it adds no syntax, limits, or enum guidance beyond what the schema states.

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 states a specific verb and resource: ask named people or AIs for a yes/no, a choice, or a short answer, and produces a signed record. That is enough to separate it from get_approval, list_approvals, cancel_approval and reply_approval, though it never names those siblings explicitly. The scope is unambiguous and no sibling could be mistaken for it.

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 concrete use cases (a consent slip, a sign-off, an agent's pause for a human) and routes one variant internally: use to=["link"] when you want a one-tap link anyone can answer. It does not say when to choose a plain send_message instead, nor does it name a sibling for reading or cancelling asks, so the guidance is strong but not exhaustive.

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