Skip to main content
Glama

Pinpal Jobs

Share a document

share_document

A public link to the document's page, where the client can read it, download the PDF and (for a sent quote or contract) approve it with their name. The same link with .json is a machine-readable version for the client's AI.

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": {
      "document": "<document>"
    },
    "name": "share_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
documentYesThe document's id (from list_documents), or its number once sent, like INV-0007.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already flag readOnlyHint=false and openWorldHint=true, so the agent knows this mutates state and exposes data externally. The description usefully adds what the public sees (read, download PDF, approve by name) and that appending .json gives a machine-readable variant for the client's AI. It does not say whether the link expires, can be revoked (unshare_document), or is idempotent across repeat calls — meaningful gaps for a public-exposure mutation.

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?

Two tight sentences with no filler, and the recipient-facing capabilities are front-loaded. The opening fragment is not a complete action statement, which slightly weakens the lead, but there is no wasted wording.

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?

With no output schema, the description appropriately explains what the returned link offers, including the .json variant. For a state-changing, open-world tool it is still incomplete on lifecycle details: link permanence, revocation, and whether document state or approval status changes as a side effect.

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 description coverage is 100%, and the single `document` parameter is fully documented in the schema as an id or a sent number like INV-0007. The description adds nothing about the parameter, so the baseline applies.

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 conveys that invoking this tool yields a public link to the document's page and explains what recipients can do with it (read, download PDF, approve). However, it is framed as a description of the resulting link rather than an explicit action statement ('creates/enables a public share link'), leaving the agent to infer the verb. The resource is unambiguous and distinguishable from siblings like send_document or unshare_document.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus send_document (email delivery) or unshare_document (revocation), nor any prerequisites such as whether the document must be sent first. The only implicit cue is that approval applies 'for a sent quote or contract'. An agent must guess the selection criteria.

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