Skip to main content
Glama
Portward

Portward

by hamzaelsiesy

share_mail

Open a pre-filled email draft to a teammate with a shared link in your mail app by providing a share ID.

Instructions

The share panel's 'Open in mail app': opens a draft to the teammate with the link in the user's mail app. App-only.

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": {
      "share_id": "<share_id>"
    },
    "name": "share_mail"
  }
}

Input Schema

NameRequiredDescriptionDefault
share_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two important traits: the action launches an external application and produces a draft rather than sending mail, plus the 'app-only' restriction. It still omits what permissions or preconditions apply and what happens when no mail app is available or the share is invalid.

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?

Compact and front-loaded, with the behavioral constraint isolated in a short trailing sentence. The quoted UI label at the start adds a little noise but no real waste.

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 simple one-parameter, no-output tool this is close to adequate, but key facts an agent needs — whether the recipient is determined by share_id, and that the draft is not automatically sent — are left implicit rather than stated.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% for the single required share_id, so the description must compensate and does not. It never explains what share_id refers to, where to obtain it, or how it relates to the 'teammate' and 'link' mentioned in the prose — only the name hints at its meaning.

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?

States a concrete action: opens a prefilled mail draft containing a share link to a teammate in the user's mail app. It is clearly distinct from siblings like share_link or draft_link by naming the specific external-app behavior, though the framing as a quoted UI label ('Open in mail app') makes the tool's own verb a bit indirect.

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?

'App-only' is a real usage constraint that tells the agent when this will work, and the intent (send a share via the user's mail client) implies its use case. However, there is no explicit when-not guidance and no mention of how it relates to the other share/draft tools an agent could pick instead.

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