Skip to main content
Glama
SyncroMSP MCP Server

SyncroMSP MCP Server

by advenimus

admin_add_po_attachment

Attach a vendor quote, invoice, or packing slip to a purchase order with a file URL, local path, or base64 data. Supports JPEG, PNG, GIF, PDF, CSV, XLS, and XLSX files.

Instructions

Attach a file (vendor quote, invoice, packing slip) to a purchase order. Give exactly one source: file_url (a direct download link; works everywhere), file_path (a file on this computer; local installs only), or file_base64 (only for tiny files you create yourself, like a short CSV, because the whole file must be written out). Allowed: JPEG, PNG, GIF, PDF, CSV, XLS, XLSX. Max 10 MB and 10 files per PO; the extension must match the real file type.

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": "admin_add_po_attachment"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPO ID (required)
nameNoDisplay name (defaults to the filename)
file_urlNohttps link that downloads the file directly (not a preview page)
filenameNoFile name with extension, e.g. 'quote.pdf'. Required with file_base64; otherwise taken from the link or path.
file_pathNoFull path to a file on this computer, e.g. /Users/me/Downloads/quote.pdf. Local installs only.
file_base64NoFile contents, base64-encoded. Tiny files only; needs filename.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.10.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does useful work: it discloses hard limits (10 MB, 10 files per PO), an allowed-type list, and the validation rule that the extension must match real content. It omits auth/permission requirements and whether an attachment can be replaced or removed, keeping it below 5.

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?

Front-loaded with the purpose, then the source-selection rule, then constraints. Three dense sentences with no filler; every clause conveys a constraint or a decision rule.

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 mutation tool with no annotations and no output schema, the description covers sources, limits, and validation well. It leaves gaps on permissions and what is returned (e.g. an attachment id), which an agent might want, so not a full 5.

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 by explaining the operational tradeoff behind each source option (link works everywhere, path is local-only, base64 is memory-heavy and needs a filename).

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 file ... to a purchase order') and immediately narrows the domain with concrete file-type examples (vendor quote, invoice, packing slip). It is clearly distinguishable from the sibling tickets_attach_file by resource scope.

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?

Gives explicit selection rules among the three source parameters -- 'Give exactly one source', 'works everywhere', 'local installs only', 'only for tiny files you create yourself'. It does not, however, position the tool against sibling attachment tools or state prerequisites/permissions, so it stops short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools