Skip to main content
Glama
Foto MCP Server
by thesven

foto_draft_post

Preview and validate a post draft before publishing: check tag constraints, format EXIF summaries, verify image parameters, and return a multimodal sRGB visual preview.

Instructions

Preview and validate a post draft without publishing. Validates tag constraints (1-3 from whitelist), formats EXIF summary, checks image parameters, and returns a multimodal sRGB visual preview.

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": {
      "filePath": "<filePath>",
      "caption": "<caption>",
      "tags": "<tags>"
    },
    "name": "foto_draft_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsYes1 to 3 tags chosen from Foto's curated list
captionYesThe post caption or narrative description
filePathYesAbsolute file path to local image
includePreviewNoWhether to include base64 visual thumbnail image content (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.1
    • addedInput schema / properties / includePreview
      Added value: +{
      +  "description": "Whether to include base64 visual thumbnail image content (default: true)",
      +  "type": "boolean"
      +}
  2. First observedv1.0.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden, and it does disclose real behavior: tag whitelist enforcement (1-3), EXIF summary formatting, image parameter checks, and a multimodal sRGB preview return. The significant gap is whether the call is side-effect free — 'draft' and 'without publishing' imply but never state that nothing is persisted, and no auth, rate-limit, or failure behavior is mentioned.

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?

A single sentence, front-loaded with the core action and purpose, with no filler wording. It packs several checks into one clause, though the list-like enumeration of validations is slightly dense.

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 usefully tells the agent that it returns a multimodal sRGB preview plus validation results, which is exactly the return-value information needed here. For a 4-parameter tool with full schema coverage, the remaining shortfall is the undefined side-effect profile given the absence of annotations.

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 description coverage is 100%, so each of the four parameters is already documented, including the 1-3 whitelisted tags and the base64 preview flag. The description only restates the tag constraint and gestures at the preview, adding little meaning beyond the schema; the baseline 3 applies.

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 pair (preview and validate) and a specific resource (a post draft), and explicitly contrasts with publishing, which separates it from foto_publish_post and foto_queue_draft. An agent can identify this as the dry-run step without opening a schema.

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?

The phrase 'without publishing' establishes the context in which this tool applies — a pre-publish check — which is meaningful guidance against the sibling publish/queue tools. It stops short of naming those alternatives explicitly or stating exclusions, such as when validation is unnecessary or what to do if validation fails.

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