Skip to main content
Glama

SalesHookAI

PDF download link

generateQuoteLink
Read-onlyIdempotent

Returns a one-time download link for the PDF of an existing quote, invoice or document (by quoteId from the quote tools). Creates no customer-facing link and sends nothing.

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": {
      "quoteId": "<quoteId>"
    },
    "name": "generateQuoteLink"
  }
}

Input Schema

NameRequiredDescriptionDefault
quoteIdYesDatabase ID of the quote/invoice

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the description only needs to add non-annotation context — and it does: the link is one-time (single use), internal-only, and triggers no outbound communication. Minor tension between 'one-time link' and idempotentHint, but it's a subtlety, not a contradiction. Link lifetime/expiry is not stated.

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?

Two compact clauses, front-loaded with the return value and followed immediately by the negative scope. No redundant restatement of the title or schema.

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 one-parameter, non-destructive read with rich annotations and no output schema, nothing essential is missing — the agent knows what it gets back and what it must supply. Only edge details (error behavior, link expiry) are absent, which are minor here.

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%, so the baseline is 3, but the description adds genuine meaning beyond the schema: quoteId can identify an invoice or a document, not just a quote, and it should come from the quote tools. That resolves the main ambiguity an agent would have about where the ID originates.

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?

Specific verb + resource + scope: "Returns a one-time download link for the PDF of an existing quote, invoice or document." It also explicitly rules out two nearby behaviors (no customer-facing link, nothing sent), which distinguishes it from the sibling quote tools it references.

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?

States the trigger condition clearly (existing quote/invoice/document, identified by quoteId from the quote tools) and explicitly excludes the adjacent use case of sending a link to a customer. It doesn't name a concrete alternative tool for the customer-facing case, so it stops just 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