Skip to main content
Glama

Set tenant login

set_tenant_login
Idempotent

Zugang (Login) im Mandanten speichern oder ersetzen, verschluesselt (AES-256-GCM). art: hood_web (Hood-Website, fuer refund_marketplace_order), ebay_web, bps_portal, lieferant, sonstiges. nur_dieser_shop=true bindet ihn an den Shop, sonst gilt er fuer alle Shops des Mandanten. Gleicher Benutzer + Art ersetzt das Passwort. Nur Inhaber/Admins.

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": {
      "store_id": "<store_id>",
      "art": "<art>",
      "benutzer": "<benutzer>",
      "passwort": "<passwort>"
    },
    "name": "set_tenant_login"
  }
}

Input Schema

NameRequiredDescriptionDefault
artYes
urlNo
notizNo
benutzerYes
passwortYes
store_idYes
bezeichnungNo
nur_dieser_shopNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, and the description is consistent with them. It adds genuinely useful behavior beyond annotations: AES-256-GCM encryption at rest, replace-on-same-user+art semantics, and the owner/admin authorization requirement. It says nothing about failure modes or what the response contains, so this is solid but not rich.

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 action and encryption are front-loaded, followed by enum meaning, scoping, replacement rule and permissions — each sentence carries distinct information. It is dense, telegraphic German with some abbreviation, but 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?

For a credential-writing tool with no output schema and zero schema descriptions, the definition covers the important semantics (encryption, scoping, replace behavior, authorization) but is silent on half the parameters and on any return value or error behavior.

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 0% across 8 parameters, so the description must carry the load. It does explain art's five values (including that hood_web is for refund_marketplace_order) and the meaning of nur_dieser_shop, and it ties benutzer+art together as a composite key. It leaves url, notiz, bezeichnung, store_id and passwort format entirely unexplained.

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 gives a specific verb and resource: store or replace a login credential in the tenant, stored encrypted. It is clearly distinct from the read-side sibling list_tenant_logins, though it never names that sibling explicitly to route the agent.

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 states the scoping rule (nur_dieser_shop=true binds the credential to one shop, otherwise it applies to all shops of the tenant), the upsert rule (same Benutzer + Art replaces the password), and the prerequisite (only owners/admins). It stops short of naming an alternative tool for reading or deleting logins.

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