Skip to main content
Glama

Upsert personnel project

upsert_personnel_project
Idempotent

Create or change ONE project entry on a person's CV record. With project_id it changes that entry and touches nothing else — not the other projects and not the rest of the record. Without project_id it creates a new entry; name is then required, because an entry without one renders as a heading with no content. Only the fields you pass are written. Placeholder text is refused as content: "null", "nicht angegeben", "n/a" and the like are stored as empty, because a placeholder in a CV reads like a statement.

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": {
      "personnel_id": "<personnel_id>"
    },
    "name": "upsert_personnel_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
roleNoWhat the person did in this project. Missing roles are the reason projects get dropped from a generated CV.
clientNo
periodNoe.g. 03/2023 – 09/2023
project_idNoFrom list_personnel_projects. Leave out to create.
descriptionNo
personnel_idYes
technologiesNo
customer_benefitNo
key_achievementsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare non-readOnly, idempotent, non-destructive. The description adds genuinely useful behavior beyond that: only passed fields are written, nothing else on the record is touched, and placeholder strings are normalized to empty rather than stored. It does not mention permission or validation failure behavior, keeping it below a 5.

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?

Front-loaded with the create-vs-change distinction, then the field-writing rule, then the placeholder caveat. Every sentence carries information; nothing is repetitive or padded.

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 10-parameter mutation with no output schema and thin schema coverage, the description covers the control flow well but not what each payload field means or what the tool returns. An agent knows how to choose create vs update, but not how to fill most of the fields.

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 30% across 10 parameters, so the description must compensate and only partly does. It explains project_id, name's conditional requirement, and the placeholder treatment, but leaves role, client, period, technologies, customer_benefit, key_achievements and personnel_id semantics to the schema (two of which do carry descriptions).

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 pair and resource: "Create or change ONE project entry on a person's CV record." The scope word "ONE" and the CV-record framing clearly separate it from delete_personnel_project and list_personnel_projects without needing the schema.

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 explicit branching guidance: pass project_id to modify an existing entry, omit it to create, and name becomes required in the create case. It stops short of naming a sibling as the alternative path (e.g. when to use update_personnel instead), so it is clear context but not full when/when-not routing.

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