Skip to main content
Glama
Foto MCP Server
by thesven

foto_publish_post

Publishes a single photo post to Foto by normalizing resolution, scrubbing GPS for privacy, uploading, passing moderation, and creating the post. Set dryRun=true to test locally without publishing.

Instructions

Publish a single photo post to Foto. Automatically normalizes resolution (max 1820px, JPEG 80%, embedded sRGB ICC), scrubs GPS for privacy, uploads to Storage, passes moderation, and creates the post. Use dryRun=true to test locally without publishing.

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_publish_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsYes1 to 3 tags chosen from Foto's curated whitelist
dryRunNoIf true, validates and prepares image without uploading or requiring login
captionYesThe post caption or narrative description
filePathYesAbsolute file path to local photo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does it well: it discloses the transformation pipeline (1820px cap, JPEG 80%, sRGB ICC), a privacy behavior (GPS scrubbing), an external side effect (Storage upload), and a gate (moderation) before the post is created. Missing are auth requirements (only hinted at via dryRun) and rate-limit or failure behavior.

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, then the pipeline, then the dry-run escape hatch — every clause carries information. The middle sentence is a long comma-chained list, but no sentence is filler.

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?

For a write tool with no annotations and no output schema, the definition covers side effects, privacy sanitization, and a safe test mode, which is most of what an agent needs. It leaves the return value (e.g., whether a post ID comes back) and login prerequisites unstated.

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 the baseline is 3. The dryRun note in the description ('test locally without publishing') largely restates the schema's own wording about validating without uploading or requiring login, and it adds nothing about caption, tags, or filePath beyond the schema.

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?

Specific verb + resource: 'Publish a single photo post to Foto'. The word 'single' implicitly separates it from foto_publish_series, but no sibling is named explicitly, so the differentiation is inferred rather than stated.

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?

It gives one concrete usage rule (dryRun=true to test locally without publishing), which is genuinely actionable. However it never states when to prefer foto_draft_post or foto_publish_series, nor any prerequisite like being logged in, so alternative selection is left implicit.

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