Skip to main content
Glama

Add Attachment

add_attachment

Attach a document by LINK (pass a public url) to a property, client, prospect, location, or pursuit. File it where it belongs: a letter or proposal sent while trying to WIN a client or listing goes on record_type "pursuit"; a document about the LISTING or the CLIENT as a whole — title report, survey, site-criteria packet, signed representation agreement — goes on record_type "property" or "client"; a document about one deal — LOI, PSA, executed lease — goes on "prospect" or "location". Set attachment_type (e.g. "LOI", "Lease", "PSA") and shown_on_report as needed. Files CANNOT be uploaded through the assistant — if the user has a file that is not yet online, first ask whether it already exists at a public link and use that; otherwise do NOT attempt an upload — call this without a url and relay the guidance it returns (attach it in the Propensa app, or host it publicly and share the link). Enforces participation on the target. Cannot delete anything. Documented at https://www.propensa.com/connect#attachments.

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": {
      "record_type": "<record_type>",
      "record_id": "<record_id>"
    },
    "name": "add_attachment"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoA PUBLIC link to the document — the only way to attach through the assistant. Anything already online (a hosted PDF, a Drive/Dropbox link set to "anyone with the link", a listing flyer URL) goes here; the link is stored as-is, nothing is copied or uploaded. If the user has a file that is NOT online, do NOT try to upload it — omit this and relay the guidance the tool returns.
filenameNoOptional label for the link (defaults to the URL). A filename with a real extension, e.g. "lease.pdf", helps later text extraction pick the right reader.
record_idYesThe record id: propertyid / prospectid (client) / propertytoprospectid (prospect) / prospectlocationid (location) / pursuit id. Requires broker participation.
descriptionNoOptional note describing the attachment.
record_typeYes"property" = a listing (document belongs to the property itself, not to any one deal on it), "client" = a represented party (document belongs to the client itself), "prospect" = one deal under a property (landlord-rep), "location" = one deal under a client (tenant-rep), "pursuit" = a client or listing the broker is trying to win (from list_pursuits): letters, proposals and the like. Its files stay with it after it is won, read-only.
content_typeNoOptional MIME hint for the linked file, e.g. "application/pdf". Useful when the URL has no file extension; improves later text extraction.
attachment_typeNoDocument type/category, e.g. "LOI", "Lease", "PSA". Created for your company if it does not exist yet.
shown_on_reportNoWhether this attachment appears on the activity report (the "Shown on activity report" flag).

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false), it discloses that participation on the target is enforced, that nothing can be deleted, that files on a won pursuit stay read-only, and that attachment_type is auto-created per company if missing. It also documents the fallback return path when no url is supplied, which annotations cannot express.

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 action and the key constraint, then organized by routing decision. It is on the long side and restates the no-upload rule that already appears in the url schema description, but every clause carries operational guidance rather than filler.

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 an 8-parameter mutation tool with no output schema, the description covers the write semantics, permission precondition, the no-upload constraint, fallback behavior, and record_type routing. There is no significant gap an agent would need filled before calling it correctly.

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 nonetheless adds decision-level meaning for record_type beyond the enum, spelling out which document category maps to which value. It also primes the agent on attachment_type and shown_on_report, though it does not add much to url/record_id/filename beyond the schema text.

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 opening sentence names the specific verb (attach), the resource (a document via public link), and the full set of valid targets (property, client, prospect, location, pursuit). It also front-loads the defining constraint — LINK only, no upload — which separates it from any upload-flavored expectation an agent might have.

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?

It gives explicit routing rules: win-stage letters/proposals go to "pursuit", whole-listing or whole-client documents to "property"/"client", and single-deal documents to "prospect"/"location". It also states the negative path — if the file is not online, ask whether a public link exists, and if not, call without a url to relay the returned guidance rather than attempting an upload.

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