Skip to main content
Glama

Update dossier share

update_dossier_share
Idempotent

Change the gates on an existing share link without changing its URL: extend or shorten the expiry, set or clear the password, change the allowed addresses or the view cap. Pass password:"" to remove the password. Fields left out stay as they are.

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": "update_dossier_share"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNo
passwordNoNew passphrase, or "" to remove the password gate.
share_idYes
max_viewsNo
expires_atNoISO timestamp, or null for no time limit.
allowed_emailsNoReplaces the list; [] removes the e-mail gate.
expires_in_hoursNoFrom now. Takes second place to expires_at.
include_internalNoOnly false is accepted: it turns an internal link into an external one, which takes documents away. Turning an external link INTO an internal one is refused — it may already have been forwarded. Create a second link instead.
require_email_codeNo

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?

Annotations already declare non-read-only, idempotent, non-open-world, and non-destructive behavior, but the description goes further: partial updates preserve omitted fields, password:'' clears the password, and include_internal accepts only false because it is a one-way internal-to-external change that cannot be reversed. It also explains the refusal to convert external links back to internal, which is valuable behavioral context. The 'takes documents away' wording is a strong access warning, but it reads as an access-control restriction rather than a direct contradiction of destructiveHint=false.

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 compact sentences front-load the core action and invariants, with no filler. The password-clearing rule and partial-update rule are stated tersely and clearly.

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?

For a 9-parameter mutation tool with only one required parameter and no output schema, the description covers the main gates, partial-update semantics, and the most dangerous include_internal constraint. It leaves label and require_email_code unelaborated, but annotations cover the safety profile, so an agent has enough to invoke it responsibly.

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 56%, so the description has to carry some parameter meaning. It explains password:'' removal, omitted fields staying unchanged, and maps expiry/allowed addresses/view cap to the relevant parameters, but label, require_email_code, and share_id get no added semantic guidance beyond their names and types.

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 the specific action (change gates) and resource (existing share link) and adds the invariant that the URL does not change, which separates it from creating a new share. It does not explicitly name sibling tools, so sibling differentiation is inferred rather than stated.

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?

It gives the condition for use—modifying gates on an existing share link—and the partial-update rule, but it never states when to prefer create_dossier_share or revoke_dossier_share, nor any exclusions. Usage is therefore implied rather than fully guided.

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