Skip to main content
Glama

Add a plan, photo or video

add_file

Plan/photo/video into a draft or made house (its ID). Video MP4/MOV, 50MB, never served. Data URI or upload link. readable=false: unreadable.

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": {
      "draft_id": "<draft_id>",
      "kind": "<kind>"
    },
    "name": "add_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNo
lonNo
tagNo
fileNo
kindYes
noteNo
floorNo
scaleNo1:<n> as printed (1:100); none: omit, px per metre in note
draft_idYes
filenameNo
readableNo
plan_kindNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / plan_kind / enum
      Previous value: -[
      -  "floor_plan",
      -  "roof_plan",
      -  "foundation",
      -  "site_plan",
      -  "section",
      -  "elevation",
      -  "detail",
      -  "electrical",
      -  "schedule",
      -  "cover",
      -  "permit",
      -  "drawing_set",
      -  "other"
      -]New value: +[
      +  "floor_plan",
      +  "roof_plan",
      +  "foundation",
      +  "site_plan",
      +  "section",
      +  "elevation",
      +  "detail",
      +  "electrical",
      +  "schedule",
      +  "cover",
      +  "permit",
      +  "drawing_set",
      +  "registry",
      +  "other"
      +]
  2. First observed

TDQS

C2.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, and destructiveHint=false, so the mutation and non-idempotency profile is supplied by structured data. The description does add real behavior beyond that: the video format and size limit ('MP4/MOV, 50MB') and the notable trait that uploads are 'never served', plus the accepted input forms ('Data URI or upload link'). It stops short of saying what happens on duplicate filenames, what errors occur on oversize files, or what the call returns.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short, but it is written as disconnected fragments ('Plan/photo/video into a draft or made house (its ID).') and the closing clause 'readable=false: unreadable' reads as a note-to-self rather than a definition. Brevity here comes at the cost of parseability and front-loading; the core action is never stated as a full sentence.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 12-parameter, non-idempotent write tool with no output schema and near-zero schema description coverage, the description is far too thin. It does not cover the majority of optional parameters (geometry, tagging, floor, scale, classification fields) or the response/error behavior, so an agent would be guessing on most calls.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 8% across 12 parameters, so the description must carry most of the semantic load and largely does not. It touches kind (plan/photo/video), file (data URI or upload link), and readable, but leaves lat, lon, tag, note, floor, scale, filename, draft_id, and plan_kind unexplained — and the terse phrasing ('its ID') is ambiguous about whether it refers to draft_id or a house ID.

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

Purpose3/5

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

The fragment 'Plan/photo/video into a draft or made house (its ID)' conveys the resource (a file asset) and the target (a draft or created house), and the kind enum reinforces it. But the verb is only implied by the tool name, and the sentence is telegraphic enough that an agent must reconstruct that this attaches a file to a house/draft. Siblings like read_file and remove_file make the add-vs-read-vs-remove distinction inferable, but not stated.

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

Usage Guidelines2/5

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

There is no when-to-use guidance and no mention of alternatives such as read_file, remove_file, measure_photo, or describe_plan for related operations on the same asset. The only conditional remark, 'readable=false: unreadable', is a parameter note rather than usage routing. An agent gets no signal about prerequisites (does the draft need to exist first, does the house need to be finished?).

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