Skip to main content
Glama

Check a Mac file link and place its upload

get_mac_file_link
DestructiveIdempotent

Returns a file link's state by its url: waiting_for_upload, placing, placed, copying, ready, failed or expired. An upload that has arrived is moved onto the Mac by this call, which waits up to wait_seconds (default 20, max 50). Safe to repeat.

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": {
      "link": "<link>"
    },
    "name": "get_mac_file_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
linkYesThe link's url (or download_url) as returned when it was made.
wait_secondsNoWait this long (0-50, default 20) for a move in progress to finish.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": {},
      -  "description": "The JSON response of the NoMac API for this operation",
      -  "properties": {
      -    "error": {
      -      "additionalProperties": {},
      -      "description": "Present only when the call failed",
      -      "properties": {
      -        "code": {
      -          "description": "Stable machine-readable error code, for example insufficient_credit",
      -          "type": "string"
      -        },
      -        "message": {
      -          "description": "What went wrong and what to do next",
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "code",
      -        "message"
      -      ],
      -      "type": "object"
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  2. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations mark this as non-read-only, destructive and idempotent; the description justifies all three by disclosing that the call itself moves a arrived upload onto the Mac and that repeating is safe. It adds real context beyond the annotations, though it does not say what happens on 'failed'/'expired' or whether the move is reversible.

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?

Three tight sentences: return states first, then the side effect and its timing bound, then the safety note. Nothing is wasted and the most important fact (this call performs the move) is front-loaded.

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 compensates well by enumerating the state strings an agent will receive and explaining the wait bound. It falls short only on operational follow-through – no guidance on polling cadence or handling terminal states like 'failed' and 'expired'.

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?

Schema coverage is 100%, so both parameters are already documented; the description only restates wait_seconds' default of 20 and maximum of 50. It adds no new semantics for 'link' beyond the schema's own note about url vs download_url.

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 ("Returns a file link's state by its url") and then enumerates the full set of possible states, so the agent knows exactly what this call reports. The distinction from create_mac_link and phone_upload_link is implicit in the word "state" but the operational purpose is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Implies its use case (poll a link until its upload arrives) and notes "Safe to repeat," which hints at repeated polling, but it never says when to prefer this over siblings like read_mac_file or create_mac_link, nor what to do once the state is 'ready' or 'expired'.

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