Skip to main content
Glama

Engram Obsidian Memory Sync

Get Attachment Upload Target

get_attachment_upload_target
Read-onlyIdempotent

Get the endpoint and this account's limits for uploading an attachment (image, PDF, audio, video). Returns a URL to POST the file to yourself using the credential already authorizing this connection; the bytes do not pass through this tool. Call before uploading to learn the size cap and which file types the plan allows.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
vault_idNoTarget vault — its name (e.g. "Engram") or its UUID. REQUIRED when you own more than one vault — the server keeps no active-vault state between calls, so it must be passed on every vault-scoped call. Omit only if you have a single vault. Call list_vaults if a name does not resolve.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
methodYes
vault_idYesSend as the x-vault-id header
all_typesYesfalse means text/* only on this plan
max_bytesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already mark this as read-only, idempotent, and non-destructive. The description adds genuinely useful behavioral context beyond that: the file bytes never pass through the tool, the returned URL is used to POST to yourself, and the existing connection credential is reused. It also clarifies the server keeps no active-vault state, which is important for correct invocation.

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?

The description is three focused sentences with no filler. The core purpose is front-loaded, followed by the key behavioral nuance (bytes do not pass through the tool), and ends with concrete usage timing. Every sentence earns its place.

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?

Given the presence of an output schema, full parameter coverage, and annotations describing safety, the description is complete for an agent to decide when to call and what to expect. It covers the endpoint/limits, credential behavior, file types, and the correct call-before-upload workflow.

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?

There is only one optional parameter, and the schema description already covers it thoroughly, including when to include vault_id, what values are accepted, and how to resolve an unresolvable name. With 100% schema description coverage, the tool description does not need to add parameter details; the baseline of 3 applies.

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?

The description states a specific verb ('Get') and resource ('attachment upload target') and explains exactly what is returned: the endpoint and account limits. It also clarifies scope by listing supported file types, which differentiates it from the sibling tools like move_attachment and the note/folder operations.

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?

The description gives explicit temporal guidance: 'Call before uploading to learn the size cap and which file types the plan allows.' It does not explicitly name alternatives or exclusion conditions, but the instruction clearly identifies when this tool is relevant among the sibling set.

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.