Skip to main content
Glama

Add a photo of a character

add_selfie

Adds one photo of a person to one of the user's characters in Luala (a selfie, in the personal space), which shoots are made from, free: one face, clearly visible, up to 15 photos a character. It joins the character last used unless character names another. In a shared space with no character yet, pass the person's name as character: it makes that character. Pass the file the user attached as photo. If you can't, but the file is in your sandbox, call with its content_type (image/jpeg, image/png or image/webp: convert a HEIC to JPEG first) and size in bytes, PUT the file to the answer's upload url with its headers, then call again with the answer's key. Called with none of these, it answers with the luala.app page where the user adds it. The user accepted the upload rules when connecting Luala.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "add_selfie"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNo
sizeNo
photoNoThe file the user attached.
spaceNoThe space, by its id or name from list_spaces; left out, the personal one, but a shoot names one when the user is in several. When they haven't said which, ask.
characterNoThe character, by its id or name from list_characters. Leave it out for the one the user last made a shoot of.
content_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / space
      Added value: +{
      +  "description": "The space, by its id or name from list_spaces; left out, the personal one, but a shoot names one when the user is in several. When they haven't said which, ask.",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / character
      Added value: +{
      +  "description": "The character, by its id or name from list_characters. Leave it out for the one the user last made a shoot of.",
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the free quota (up to 15 photos per character), the one-face-clearly-visible constraint, the two-step upload protocol (PUT to the answer's upload url with headers, then re-call with the key), accepted content types with a HEIC conversion note, and the no-argument fallback that returns the luala.app page. This is exactly the behavioral context annotations cannot carry.

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

Conciseness3/5

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

Information-dense and front-loaded with the core action, but the body is a chain of long run-on sentences with nested parentheticals that are hard to parse on first read. Every clause carries information, yet the structure could be broken into clearer steps.

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 6-parameter, multi-step upload tool with no output schema, the description covers the happy path, the sandbox fallback, the no-input fallback, and quota limits. Only minor gaps remain, such as what the successful response contains beyond the upload url and key.

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

Parameters4/5

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

With only 50% schema coverage across 6 parameters, the description compensates well: it explains photo (the attached file), character (defaults to last used), space (personal by default, shared spaces need a name), and the content_type/size/key upload path. It adds real meaning beyond the schema, though the interaction between key and photo could be stated more crisply.

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?

States a specific verb and resource: 'Adds one photo of a person to one of the user's characters in Luala (a selfie, in the personal space)'. The parenthetical clarifies the domain concept. It does not explicitly distinguish itself from the sibling add_photo, so it falls short of a 5.

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?

Gives clear operational context: it joins the character last used unless one is named, and in a shared space with no character yet the person's name should be passed as character. It also explains the fallback when no file is available. It never names an alternative sibling tool, so it stops short of explicit when-not guidance.

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