Skip to main content
Glama
Foto MCP Server
by thesven

foto_login

Authenticate to the Foto app with email and password, then store encrypted credentials locally under a chosen profile for secure account access.

Instructions

Authenticate with Foto app using your account email and password. Securely stores encrypted credentials locally under the specified profile.

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": {
      "email": "<email>",
      "password": "<password>"
    },
    "name": "foto_login"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailYesYour Foto account email address
passwordYesYour Foto account password
profileNameNoOptional profile alias (e.g. 'default', 'street', 'studio')

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.0.1
    • addedInput schema / properties / profileName
      Added value: +{
      +  "description": "Optional profile alias (e.g. 'default', 'street', 'studio')",
      +  "type": "string"
      +}
  2. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations present, the description carries the full burden. It does disclose a meaningful side effect — encrypted credentials are persisted locally under the given profile — but it says nothing about what happens on invalid credentials, whether an existing profile's stored credentials are overwritten, whether a network call is made, or what the successful response contains.

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

Conciseness5/5

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

Two short sentences with the action front-loaded and the storage side effect second; every clause carries information and there is no filler.

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?

There is no output schema, so the description should tell the agent what a successful or failed login yields and how the profile selection behaves. It covers the action and the persistence model but leaves the return contract and error behavior unstated for a tool with a security-sensitive side effect.

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 coverage is 100%, so the email, password, and profileName fields are already documented. The phrase 'under the specified profile' adds a little meaning about what profileName controls (credential scoping), but it does not explain the default when profileName is omitted, which is the main ambiguity an agent faces.

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 states a specific verb and resource: authenticate against the Foto app with email and password, and it mentions the local profile-scoped credential store. It does not distinguish itself from the closely named sibling foto_auth_status (status check) or foto_logout, so an agent must infer the boundary between logging in and checking auth state.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit guidance on when to call this versus foto_auth_status or foto_logout, nor on prerequisites such as whether an existing profile must not already be authenticated. The credential requirement is implied by the parameters only, and no failure or re-authentication path is mentioned.

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