Skip to main content
Glama

Reject invitation

drive_invitation_reject
Destructive

Reject a pending Proton Drive sharing invitation permanently without notifying the sender. Use the invitation uid from the invitations list to decline access.

Instructions

Reject a pending sharing invitation permanently; the sender is not notified. Get the uid from drive_list_invitations — never guess it. The server asks the user to approve this itself.

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": {
      "uid": "<uid>"
    },
    "name": "drive_invitation_reject"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidYesInvitation uid from drive_list_invitations.
confirmedNoOptional and ignored: the server asks the user to approve this itself. You do not need to send it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.12.0
    • changedInput schema / properties / confirmed / description
      Previous value: -"Must be true; only after the user approved this exact action."New value: +"Optional and ignored: the server asks the user to approve this itself. You do not need to send it."
  2. Changed2 schema fields changedv1.2.0
    • changedInput schema / properties / confirmed / description
      Previous value: -"Must be true. Only set after the user explicitly approved this exact action."New value: +"Must be true; only after the user approved this exact action."
    • changedInput schema / properties / uid / description
      Previous value: -"Invitation UID from drive_list_invitations output. E.g. 'drive:abc123' or 'photos:xyz456'."New value: +"Invitation uid from drive_list_invitations."
  3. Changed1 schema field changedv1.0.38
    • addedInput schema / properties / confirmed
      Added value: +{
      +  "description": "Must be true. Only set after the user explicitly approved this exact action.",
      +  "type": "boolean"
      +}
  4. Addedv1.0.26

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, but the description adds real behavioral context beyond that: the rejection is permanent, the sender is NOT notified, and the server itself handles user approval so no client-side confirmation is needed. This is exactly the kind of consequence disclosure an agent needs before a destructive call.

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 short clauses, front-loaded with the action and its consequence, followed by the uid-sourcing rule and the approval note. No filler; every sentence carries distinct information.

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 simple one-required-parameter mutation with no output schema, the description covers what the tool does, the consequence (permanent, sender not notified), how to obtain the argument, and who performs confirmation. Nothing an agent needs to invoke it correctly 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 already 100%, so the baseline would be 3; the description earns extra by adding operational meaning to uid (source it from drive_list_invitations, never guess) rather than just restating the type. It reinforces that 'confirmed' is unnecessary, though the schema already documents that field as ignored.

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+resource (reject a pending sharing invitation) and adds the key qualifier 'permanently', which distinguishes it from a reversible action. An agent can immediately tell this apart from drive_invitation_accept or drive_list_invitations.

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?

Gives a clear precondition (the invitation must be pending) and a concrete instruction for sourcing the required argument: get uid from drive_list_invitations, never guess it. It doesn't explicitly name drive_invitation_accept as the alternative path, which keeps it just short of fully prescriptive routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.