Skip to main content
Glama

Set the PDF a comment follow-up sends

set_sequence_download
DestructiveIdempotent

Attach a PDF to a social email sequence, from a public https link. {{download}} in that sequence's emails then becomes a link to it. A sequence sends its OWN PDF or no link at all — it does not inherit the account's — so this is the only way {{download}} resolves in a social follow-up. To REMOVE one, pass remove: true. A PDF that is in this chat (one you made, or one the person attached): pass it as files — no upload needed. Otherwise a public https link as source_url; a PDF only on their computer: start_file_upload with purpose "pdf", PUT it, and pass the url it returns.

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": {
      "social_email_sequence_id": "<social_email_sequence_id>"
    },
    "name": "set_sequence_download"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesNoThe PDF from this chat (one file). Use this OR source_url.
labelNoThe clickable text, e.g. "the checklist". Defaults to "Download".
clientNoClient website slug (or id). Required for platform-scoped keys.
removeNoRemove the sequence's PDF. {{download}} then renders as nothing.
source_urlNoPublic https link to the PDF. Use this OR files; omit both only when removing.
social_email_sequence_idYesA social email sequence id from list_social_sequences.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructive, idempotent and openWorld, so the safety profile is covered. The description adds real behavioral context beyond that: {{download}} becomes a link to the attached file or renders as nothing after removal, and the per-sequence non-inheritance rule. It doesn't cover auth/permission requirements or what the response contains, which keeps it short of a 5.

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-loaded with the core action and effect, then progressive detail on sources and removal — no filler sentences. Some ideas are restated (non-inheritance and 'only way {{download}} resolves' say nearly the same thing), and the final sentence chains several steps, slightly taxing readability.

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 6-parameter mutation tool with no output schema, the description covers source selection, removal semantics, per-sequence scoping, and the prerequisite upload flow. An agent can invoke it correctly without consulting other documentation.

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; the description still adds meaning by spelling out the exclusivity relationship between files and source_url (use one OR the other, omit both only when removing) and the end-to-end upload workflow. The label default is repeated from the schema, which is the only minor redundancy.

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?

States a specific verb and resource — attach a PDF to a social email sequence from a public https link — and explains the effect on the {{download}} placeholder. It is clearly distinct from siblings like start_file_upload, which it explicitly routes to as a fallback rather than duplicating.

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

Usage Guidelines5/5

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

Gives explicit branching guidance: use files for a PDF already in the chat, source_url for a public link, start_file_upload + PUT for one only on the user's computer, and remove: true to delete. It also states the key exclusion — a sequence does not inherit the account PDF — so an agent knows setting is the only route.

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