Skip to main content
Glama
Foto MCP Server
by thesven

foto_logout

Sign out of the Foto app and delete stored credentials from local disk, optionally for one profile or all sessions.

Instructions

Log out of Foto app and delete stored credentials from local disk.

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": "foto_logout"
  }
}

Input Schema

NameRequiredDescriptionDefault
profileNameNoOptional profile name to log out of (if omitted, clears all stored sessions)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.1
    • addedInput schema / properties / profileName
      Added value: +{
      +  "description": "Optional profile name to log out of (if omitted, clears all stored sessions)",
      +  "type": "string"
      +}
  2. First observedv1.0.0

TDQS

A3.7/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 transparency burden. It does disclose the key destructive consequence (credentials removed from local disk), but omits whether the server-side session/token is revoked, what happens on failure or when already logged out, and whether other profiles are affected.

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 front-loaded sentence with no filler; the destructive side effect is attached to the action rather than buried. Slightly terse for a tool with a destructive side effect, but nothing is wasted.

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 one-parameter, no-output tool, the definition covers purpose and the main side effect adequately. The remaining gap is server-side session revocation, which matters for an auth tool but is a minor omission at this complexity level.

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% and the schema already explains that omitting profileName clears all stored sessions. The description adds no syntax, format, or behavioral detail about the profileName parameter, so 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 and resource ("Log out of Foto app") plus the concrete side effect (deleting stored credentials), which cleanly separates it from foto_login and foto_auth_status in the sibling list. No ambiguity about what the tool does.

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?

The purpose implies the usage context (ending an authenticated session), but there is no explicit when-to-use guidance, no mention of foto_auth_status as a way to verify state first, and no statement about behavior when no session exists. Usage must be inferred from the verb alone.

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