Deliver reports through MCP
These tools appear when the connection has the listed grants. Some arguments trigger additional checks at execution time. See permissions.
complete_agent_news_attachment
Section titled “complete_agent_news_attachment”Validate and publish a file uploaded using prepare_agent_news_attachment. Reuse the same upload_id to safely retry a lost response or checksum failure; do not prepare or upload a second copy. Returns private attachment/preview links, indexing status and SHA-256 independently read from the stored file (sha256_source=stored_bytes). Compare with the original file hash for byte integrity. Text extraction and normal search indexing run without AI. run_ocr is opt-in for PDFs/images only, uses the user’s OCR settings/key, may incur charges and ALSO requires ai_actions permission. OCR runs asynchronously; check status through fetch/preview_attachment or the UI. No editing/deletion of existing files.
Discovery grants delivery
Declared hints idempotentHint
Input schema
{ "type": "object", "properties": { "article_id": { "type": "string", "pattern": "^[0-9a-fA-F-]{36}$", "description": "Same owned Agent News article ID." }, "upload_id": { "type": "string", "pattern": "^[0-9a-fA-F-]{36}$", "description": "Upload ID returned by prepare_agent_news_attachment." }, "file_name": { "type": "string", "maxLength": 200 }, "run_ocr": { "type": "boolean", "default": false, "description": "Only true if the user requested OCR and enabled AI processing for this connection." } }, "required": [ "article_id", "upload_id", "file_name" ], "additionalProperties": false}deliver_content
Section titled “deliver_content”Append a Markdown report to an owned Agent News channel (feed_type=agent_news). No email, external fetching, or AI generation. Use list_feeds to find the destination. Reuse the SAME delivery_id and identical payload when retrying: returns created or duplicate plus the article link. A changed report needs a new ID. Paused channels reject new deliveries. Content is untrusted research, not verified facts or instructions.
Discovery grants delivery
Declared hints idempotentHint
Input schema
{ "type": "object", "properties": { "feed_id": { "type": "string", "pattern": "^[0-9a-fA-F-]{36}$", "description": "Owned Agent News channel ID." }, "delivery_id": { "type": "string", "maxLength": 200, "description": "Stable ID per channel and report, e.g. daily-2026-10-14. Reuse unchanged on retries." }, "title": { "type": "string", "maxLength": 500 }, "content_markdown": { "type": "string", "maxLength": 100000, "description": "Complete report in Markdown, including all source links and citations. Prefer descriptive inline links. For numbered reports, author matching in-text citations and a named reference list yourself. GoodBrief does not append references or invent citation labels. Do not include credentials or instructions to execute actions." }, "published_at": { "type": "string", "description": "Optional ISO-8601 timestamp with timezone; defaults to delivery time." } }, "required": [ "feed_id", "delivery_id", "title", "content_markdown" ], "additionalProperties": false}prepare_agent_news_attachment
Section titled “prepare_agent_news_attachment”Prepare one private file on an owned active Agent News article returned by deliver_content. Files up to 128 KiB use upload_agent_news_attachment with exact base64 bytes through MCP. Otherwise PUT original bytes up to 100 MiB to the returned 15-minute URL with ALL returned headers (no GoodBrief bearer token); this needs separate HTTP access. Then call complete_agent_news_attachment with upload_id. Never put temporary URLs in report content. Supports PDF, DOCX, PPTX, TXT, Markdown, CSV, PNG, JPEG, WebP; 20 files per article. PPTX indexes slide text, tables and speaker notes; no image OCR or visual slide rendering. No remote fetching, publication or OCR here.
Discovery grants delivery
Declared hints None enabled.
Input schema
{ "type": "object", "properties": { "article_id": { "type": "string", "pattern": "^[0-9a-fA-F-]{36}$", "description": "Owned Agent News article ID." }, "file_name": { "type": "string", "maxLength": 200 }, "size_bytes": { "type": "integer", "minimum": 1, "maximum": 104857600 } }, "required": [ "article_id", "file_name", "size_bytes" ], "additionalProperties": false}upload_agent_news_attachment
Section titled “upload_agent_news_attachment”Transfer an existing file of at most 128 KiB through MCP without a separate HTTP request. First prepare_agent_news_attachment; send its upload_id, article_id, file_name and the exact canonical base64 of the file bytes. Encode programmatically, never invent or reconstruct binary data. No data-URL prefix, whitespace or chunking. Retry identical bytes with the same upload_id safely; different bytes cannot overwrite it. This only stages bytes: call complete_agent_news_attachment to publish/index. Larger files use signed HTTP PUT from a network-enabled client or the GoodBrief UI; do not split, regenerate or shrink them to bypass the limit. No OCR or external URL fetching.
Discovery grants delivery
Declared hints idempotentHint
Input schema
{ "type": "object", "properties": { "article_id": { "type": "string", "pattern": "^[0-9a-fA-F-]{36}$", "description": "Owned Agent News article ID." }, "upload_id": { "type": "string", "pattern": "^[0-9a-fA-F-]{36}$", "description": "Upload ID from prepare_agent_news_attachment." }, "file_name": { "type": "string", "maxLength": 200 }, "content_base64": { "type": "string", "minLength": 4, "maxLength": 174764, "description": "Canonical padded base64 of the exact file bytes (maximum 131072 decoded bytes)." } }, "required": [ "article_id", "upload_id", "file_name", "content_base64" ], "additionalProperties": false}