Skip to main content
Glama

Set a place's picture

set_place_picture

A place's picture or cover: generate makes one from their words, an image in this conversation goes as file, or url, base64, library. Never a stock photo unless they ask.

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": {
      "which": "<which>"
    },
    "name": "set_place_picture"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoA public https link to the image file itself.
fileNoAn image file from this conversation (ChatGPT passes it here).
modeNo"draft" always makes a card. Default: as far as yourAi goes.
placeNoIts name or id. Left out when they run exactly one.
styleNogenerate: illustration (default) or photo-like (no people).
whichYespicture: the round picture · cover: the wide photo on top of its page.
base64NoA small image's bytes as base64 (≤ 2 MB decoded).
generateNoWhat the picture shows, e.g. "stickor och garnnystan på ett kafébord i Limhamn".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / file / additionalProperties
      Removed value: -false
    • changedInput schema / properties / mode / description
      Previous value: -"\"draft\" always makes a draft the person taps. Default: as far as the person's choice for their AI in this place goes (list_places → yourAi)."New value: +"\"draft\" always makes a card. Default: as far as yourAi goes."
    • changedInput schema / properties / place / description
      Previous value: -"Which place — its name (e.g. \"Poker night\") or its id from list_places. May be left out when the person runs exactly one."New value: +"Its name or id. Left out when they run exactly one."
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": false,
      -  "properties": {
      -    "itemId": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "note": {
      -      "type": "string"
      -    },
      -    "place": {
      -      "type": "string"
      -    },
      -    "status": {
      -      "enum": [
      -        "done",
      -        "sent",
      -        "draft",
      -        "read",
      -        "held",
      -        "published"
      -      ],
      -      "type": "string"
      -    },
      -    "url": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "which": {
      -      "type": "string"
      -    },
      -    "why": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    }
      -  },
      -  "required": [
      -    "status",
      -    "place",
      -    "which",
      -    "url",
      -    "itemId",
      -    "why",
      -    "note"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare non-read-only, non-destructive, non-idempotent behavior. The description adds a useful content policy about stock photos and source modes, but does not disclose whether an existing picture is overwritten, permission requirements, or what happens when mode is draft versus direct.

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?

The description is short and front-loads the resource and source options. However, the source list is awkwardly punctuated and includes the missing `library` value, slightly reducing clarity.

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

Completeness3/5

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

With full schema coverage and annotations, the description only needs to add high-level context and policy. It does that partially, but omits overwrite behavior and permission context and references a nonexistent source option, leaving meaningful gaps.

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 schema already explains each parameter in detail. The description adds a high-level mapping of generate/file/url/base64, but it omits mode, place, style, and which semantics and introduces a `library` value not present in 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?

The description clearly identifies the resource (a place's picture or cover) and the main action via generation or image sources. It does not explicitly differentiate from siblings such as upload_media or place_settings, and it references a `library` option that is absent from the 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?

It gives clear usage context by mapping `generate` to words, `file` to an image in the conversation, and naming url/base64 sources. The policy 'Never a stock photo unless they ask' adds a useful constraint, but there is no explicit when-not-to-use guidance versus sibling 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.