Skip to main content
Glama

quote_share

Returns share_url, the client's view link for this quote, and the full document (parties, lines, totals in integer CENTS) in one call. action: 'get' (default) returns the live link; 'rotate' replaces it and the old link stops working; 'revoke' turns it off. A link the owner turned off stays off for agents: 'get' never re-issues it, and an agent's 'rotate' waits for the owner's approval. Anyone with the link can open the page until the quote expires, is declined or converted (see link_serving). There is no PDF file yet; the link opens a print-ready page the client can print or save as PDF. Nothing is sent: give the link to the owner, who decides whether it goes to the client.

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": {
      "id": "<id>"
    },
    "name": "quote_share"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe quote id (quote_list shows them).
actionNoget (default): the live link, made the first time. rotate: replace it with a new link; the old one stops working. revoke: turn the link off.
quote_idNoAlias of id.
fresh_afterNoOmit it. Only when an error's next_call includes fresh_after, send that call exactly as given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations: rotating kills the old link, a revoked link is never re-issued to agents, an agent-initiated rotate blocks on owner approval, and the link is publicly readable by anyone holding it until expiry/decline/conversion. It also clarifies there is no PDF, only a print-ready page, which the readOnlyHint/destructiveHint flags alone would not convey.

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?

Front-loads the return value, then the action semantics, then the sharing/permission constraints. It is dense but each sentence carries operational meaning; the numbers-in-cents aside and the PDF note could be trimmed slightly without loss.

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?

With no output schema, the description still specifies the returned fields (share_url and the full document in integer cents) and clarifies there is no binary file. Combined with the sharing and approval rules, an agent has everything needed to call and interpret the result.

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

Parameters4/5

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

Schema coverage is 100% and the enum already documents get/rotate/revoke, so baseline would be 3. The description adds genuinely new meaning — revocation persistence, approval gating, and that 'get' will not resurrect a disabled link — which shapes how an agent should choose the action.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

First sentence names a concrete return payload (share_url plus the full document with parties, lines and integer-cent totals) and frames it as a single call, which distinguishes it from quote_read or quote_item_list. The action semantics confirm this is the link-management tool rather than a document reader.

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?

Explicitly states 'get' is the default and what rotate/revoke do, plus the important guidance that nothing is sent and the link should be handed to the owner. It does not directly name sibling alternatives (quote_read, quote_convert, invoice_share) or say when not to use it, so it stops short of full routing 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.

Resources