Skip to main content
Glama

Share deck with a person

create_grant
DestructiveIdempotent

Share a deck with one person, by user ID or email address, at the given role.

No email is sent: they see the deck when they sign in to Presentations.AI with that address. If they already have access, their role is replaced, which can lower it.

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": {
      "deck_id": "<deck_id>",
      "subject": "<subject>",
      "role": "<role>"
    },
    "name": "create_grant"
  }
}

Input Schema

NameRequiredDescriptionDefault
roleYesAccess level to grant.
deck_idYesID of the deck.
subjectYesA user id, or an email address (creates an `EMAIL` grant).

Output Schema

NameRequiredDescriptionDefault
roleYesPer-deck grant role for sharing decks independently of project membership.
deck_idYes
subjectYes
subject_emailYesEmail the deck was shared with; null when shared by user id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Adds real context beyond the annotations: no notification email is sent, the grantee sees the deck only upon signing in, and an existing grant's role is replaced even if that lowers access — which explains why destructiveHint=true despite the benign-sounding 'share' verb. The idempotentHint is corroborated by the replace-semantics.

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 sentences, front-loaded with the action and scope, then the two non-obvious behaviors. Every sentence carries information an agent would otherwise get wrong.

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

Completeness4/5

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

Output schema exists so return values need not be explained, and the destructive replacement semantics are covered. What is missing is the caller's permission requirement and whether self-grants or invalid emails are rejected.

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 documents deck_id, subject (user id or email), and the role enum. The description reinforces the subject dual-mode but adds no new parameter-level detail such as case sensitivity, email normalization, or error behavior for unknown addresses.

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?

Specific verb + resource + scope: 'Share a deck with one person, by user ID or email address, at the given role.' The 'one person' framing implicitly separates it from a multi-recipient share_deck sibling, but no sibling is named explicitly, so differentiation is left partly to inference.

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

Usage Guidelines3/5

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

Usage is implied by the single-person scope and by the requirement to supply a subject and role, but the description never states when to prefer this over the sibling share_deck or what preconditions (e.g., ownership/admin rights) must hold. No explicit when-not guidance.

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.