Skip to main content
Glama

Create Persona from Template

persona_aus_vorlage
Destructive

Eine Persona anlegen — aus einer Vorlage, in der Anmeldung eines Menschen.

EIN JA IM CHAT GENUEGT: sagt der Mensch „ja, legt die an", wird die Persona
angelegt, ohne Klickfrage und ohne zusätzliche Freigabe.

Eine KLICKFRAGE brauchen Regeln und Entscheidungen — nicht eine Persona,
zu der der Mensch schon Ja gesagt hat. Nur vorschlagen und den Klick
abwarten: `persona_vorschlag`; das legt ausdrücklich nichts an.

WER ES AUSLOESEN DARF: der Lotse, in der Anmeldung eines Menschen (OAuth)
oder mit einem Lotsen-Schlüssel -- und eine Persona mit dem Recht „darf
Personas verwalten“ (ein Mensch gibt es ihr in der Oberfläche). Mit dem
Recht nennst du nur Name, Slug, Vorlage, Titel, Aufgabe, Grenzen und
Stil; alles andere kommt aus der Vorlage oder dem Standard (der Kern
antwortet sonst 403 mit dem Feldnamen; `recht_felder` in der Antwort von
`GET /personas/{slug}` nennt die vier). Ein gewöhnlicher Agenten-Schlüssel
ohne dieses Recht bekommt eine Absage mit Begründung.

WAS AUS DER VORLAGE KOMMT: Aufgabe, Können, Grenzen, Stil, Werkzeuge,
Sichtfeld, Modellklasse und Briefbudget. Passt die Vorlage fachlich nicht,
setze `aufgabe`, `koennen`, `grenzen`, `stil` ausdrücklich — sie ersetzen
die Vorlagenwerte schon beim ersten Speichern. Weglassen übernimmt die
Vorlage; `[]` entfernt deren Grenzen, ein leerer Text entfernt
Können/Stil. Werkzeuge, Budget und die Vorlagen-Zuordnung kommen
weiterhin aus der Vorlage — sprich mit dem Menschen darüber, wenn sie
nicht passen.

DAS PROFIL GEHOERT ZUM ANLEGEN. Es entsteht aus den drei DISC-Fragen an den
Menschen: aus den Antworten ergeben sich `profil_blau`, `profil_rot`,
`profil_gruen`, `profil_gelb`, die dem Menschen gezeigt werden; nach seinem
„Passt" kommen die vier Werte hier an. Sie werden direkt gespeichert; es
braucht dafür keine zweite Klickfrage.

VIER WERTE ODER KEINER, Summe genau 100. Sonst kommt eine 422 mit Satz und
Feld. Ein halbes Profil wäre eine erfundene Aufteilung, und ein fehlender
Wert wird nicht als 0 gelesen.

LAESST DU SIE WEG, bleibt das Profil leer — es wird NICHT aus dem
Soll-Profil der Vorlage abgeleitet. Das Soll beschreibt, was die STELLE
braucht; das Profil, wie diese Persona arbeitet. Ein Profil, das ein Soll
abschreibt, zeigt jemanden, den niemand bestätigt hat.

DER JOBTITEL: `titel` ist der Text, der in der Oberfläche als Stelle
steht. Lässt du ihn weg, erscheint der NAME DER VORLAGE — und der passt
nicht immer: eine Vorlage trägt einen Namen, besetzt wird sie von vielen,
und das Geschlecht ist nur der auffälligste Fall, in dem es nicht passt.
Frag den Menschen danach, wenn der Vorlagenname nicht zur Person passt.
Leerraum zählt als „nicht gesetzt", nicht als leerer Titel.

WAS DIESER WEG NICHT SETZT: `abteilung`. Die Route nimmt es nicht.

BESTEHENDE PERSONAS AENDERT DIESES WERKZEUG NICHT — es legt neue an.

`sichtfeld` weglassen heißt „nicht gesetzt", nicht „leer": dann bleibt das
der Vorlage stehen. `[]` ist ein gültiger, bewusster Wert („kein Filter").

404 unbekannte Vorlage, 409 der Slug ist belegt, 422 verabschiedete Vorlage
oder unbekannter Bereich — alle vier kommen vom Kern durch. Bei einem
unbekannten Bereich: erst `bereich_put`, dann die Persona.

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": {
      "vorlage_slug": "<vorlage_slug>",
      "slug": "<slug>",
      "name": "<name>"
    },
    "name": "persona_aus_vorlage"
  }
}

Input Schema

NameRequiredDescriptionDefault
chatNoChat token returned by `persona_waehlen`. With it, the call acts as the persona of that chat; without it, as the unbound connection (Chat-Token aus `persona_waehlen`: mit ihm handelt der Aufruf als die Persona dieses Chats, ohne ihn als die ungebundene Verbindung).
nameYes
slugYes
stilNo
titelNo
aufgabeNo
grenzenNo
koennenNo
sichtfeldNo
profil_rotNo
profil_blauNo
profil_gelbNo
persona_slugNo
profil_gruenNo
vorlage_slugYes
mcp_werkzeugeNo
modell_klasseNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Far beyond the annotations, it discloses the permission model and the 403-with-field-name failure, that a key without the right gets a refusal with reasoning, that `abteilung` is rejected by this route, that existing personas are never modified, that omitted fields fall back to the template while `[]` and "" deliberately clear them, the four-or-none profile rule with sum 100 and the 422, and the 404/409/422 outcomes. Note that destructiveHint=true sits slightly at odds with the statement that existing personas are untouched, but that is a conservative annotation rather than a described behavior being contradicted.

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?

Front-loaded with the single most important rule (a chat yes suffices) and cleanly sectioned with caps headers that let an agent skim. It is long, and passages such as the rationale for why a profile must not copy the Soll, or the aside about template names and gender, are persuasive prose rather than operational instruction, though they do encode real guidance.

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 17-parameter mutation with an output schema and a non-trivial authorization model, the description covers permissions, field provenance, profile arithmetic, omission semantics and error codes. What is still missing is the meaning of `chat` and `persona_slug`, and reconciliation of the template-sourced fields with the parameters the schema still exposes.

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?

Schema coverage is only 6%, so the description carries the load, and it does for most of the 17 params: `titel` default/whitespace semantics, template fallback for `aufgabe`/`koennen`/`grenzen`/`stil`, `sichtfeld` null-vs-empty, the four `profil_*` values being all-or-nothing summing to 100, and the profile never being derived from the template's Soll. Gaps remain: `chat` and `persona_slug` are never explained (the latter is especially confusing on a create tool), and it claims tools/budget/model class come from the template while `mcp_werkzeuge` and `modell_klasse` exist as settable schema params.

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?

The first line gives a specific verb, resource and source: create a persona from a template, on behalf of a human in the login. It is immediately distinguishable from `persona_vorschlag` (which explicitly creates nothing) and from `persona_aendern` (existing personas are not touched). No ambiguity about what the tool produces.

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

Usage Guidelines5/5

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

It states the exact trigger condition (a human's 'yes' in chat is enough, no click confirmation), the case where a confirmation IS required (rules and decisions), and names the alternative `persona_vorschlag` for propose-only flows. It also routes the agent to `bereich_put` first when the department is unknown, and states who may invoke it (OAuth login, Lotse key, or a persona holding the 'darf Personas verwalten' right).

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.