Skip to main content
Glama
Portward

Portward

by hamzaelsiesy

share

Send a history pull to a named teammate by email, with expiring code access, per-column visibility, and optional CSV download.

Instructions

Share a pull from history with a teammate by email: the table is encrypted on this machine and the link is shown to the user in the Portward share panel to copy and send (or open in their mail app from there; without a panel a draft opens in their mail app). You never see the link. The teammate opens it with a code emailed to them; it expires after days (7 unless the user asks for longer: up to 90 with Portward Personal). Blocked columns are never included. options sets what the teammate sees of each column, as the user chooses: "include" (the default for columns not named), "hide", "anonymise" (each value becomes a code, the same value the same code within this share only) or "totals" (only sums per group of the other columns, groups of fewer than 5 rows left out). Ask the user which they want; don't choose for them. allow_download (default false: view only) lets the teammate download the shared table as a CSV; leave it false unless the user asks for the teammate to be able to download it. It can't be changed after sharing. Only call this when the user asks to share and names the teammate.

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": {
      "pull_id": "<pull_id>",
      "recipient": "<recipient>"
    },
    "name": "share"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
optionsNo
pull_idYes
recipientYes
allow_downloadNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so: the table is encrypted locally, the link is never visible to the agent, the recipient authenticates with an emailed code, expiry defaults and caps (7 days, up to 90 with Personal), blocked columns are always excluded, and allow_download cannot be changed after sharing. These are exactly the operational facts an agent cannot infer from the schema.

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?

Dense and front-loaded, with purpose, security model, and then parameter semantics in a sensible order; nearly every clause carries information. Minor redundancy between 'as the user chooses' and 'Ask the user which they want; don't choose for them', but nothing is padding-level verbose.

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 five-parameter mutation tool with no annotations and no output schema, the description covers the security model, the expiry policy, the immutability of download permission, and the full option vocabulary. An agent has enough to call it correctly and to prompt the user appropriately.

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

Parameters5/5

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

Schema description coverage is 0%, yet the description defines every meaningful parameter: days (default 7, max 90 with Personal), options with all four mode values and their semantics including the anonymise consistency rule and the small-group suppression in totals, and allow_download (default false, immutable). pull_id and recipient are implied by 'a pull from history' and 'with a teammate by email'.

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?

Opens with a specific verb and resource: 'Share a pull from history with a teammate by email', which tells an agent exactly what the tool does and the channel used. It does not explicitly differentiate itself from nearby siblings such as share_link or share_mail, so it falls short of a 5.

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 hard gate: 'Only call this when the user asks to share and names the teammate', plus explicit instruction not to choose options on the user's behalf. No alternative tool is named for cases where the gate isn't met, so it is clear context rather than full when/when-not/alternatives routing.

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