Skip to main content
Glama
This connector has been deprecated in the official MCP Registry

Replaced by Guest Logic Hotel PMS.

Renamed: use ai.guestlogic/hotel-pms (the same server, https://guestlogic.ai/mcp).

Upload a file

upload_file

Changes: stores one file in the company's setup documents and adds what Guest Logic reads in it to the setup checklist, to be confirmed. No preview: the change is made when called. For a PDF, picture or spreadsheet (up to 25 MB). Call with filename, content_type and size: you get an address to PUT the file to. After the PUT, call again with document_id: Guest Logic reads it and returns what was found. Types: PDF, PNG, JPEG, WebP, XLSX, XLS, CSV, TXT. Needs the owner's sign-in.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "upload_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeNoBytes
filenameNoFile name
document_idNoFrom the first call, after the PUT
content_typeNoe.g. application/pdf

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

The annotations already declare this as a non-read-only, non-idempotent, non-destructive, closed-world write, so the baseline is lower. The description still adds real value beyond them by disclosing that there is no preview, the change lands immediately on call, the checklist entry is unconfirmed, and owner sign-in is required. A 3 reflects that this is useful added context on top of already-decent annotations rather than a fully rich behavioral profile (no rollback or failure-mode detail).

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-loads the effect and the no-preview warning, then the mechanics, then constraints, then the auth note, with no filler sentences. The telegraphic "Changes:" framing and short clauses are dense but readable.

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?

With no output schema, the description carries the burden of return values and does so partially: a PUT address on the first call and extracted findings on the second. The two-phase contract, accepted types, size limit and auth requirement are all covered. What 'what was found' actually contains is left vague, which is the main remaining gap.

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 goes further by explaining that document_id is the second-phase key rather than a first-call argument, which the schema's one-liner only hints at. It also ties content_type and size to the accepted types and 25 MB ceiling. It doesn't clarify that all four properties are optional in the schema while the two-phase flow implies staged requirements.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb and resource ("stores one file in the company's setup documents") plus the downstream effect on the setup checklist, so the intent is unmistakable. It does not distinguish itself from near-name siblings such as upload_report or add_photo, so it stops short of a 5.

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 procedural guidance: first call with filename/content_type/size to get an upload address, then a second call with document_id after the PUT. It also bounds scope with file types and the 25 MB cap, but never says when to pick this tool over the sibling upload tools.

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