Skip to main content
Glama

Upsert personnel credential

upsert_personnel_credential
Idempotent

Record or update one proof for a person — a degree, a certificate, a training, a security clearance. SEPARATE from the CV on purpose: a certificate is not extractable, and a person brings several with different dates and validity (a clearance expires, a diploma does not), which one file field cannot hold. Same shape as company credentials, so a submission check can treat both sides alike. Pass credential_id to update, or personnel_id + kind + label to create.

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

Input Schema

NameRequiredDescriptionDefault
kindNo
fieldNoSubject or programme, if not already in the label.
labelNoAs it appears in a bid: "M.Sc. Civil Systems Engineering".
notesNo
issuerNoWho issued it: "Technische Universitaet Berlin".
issued_onNo
identifierNo
valid_untilNonull means open-ended — a diploma does not expire. A date in the past belongs in the submission checklist as an open item.
document_urlNo
personnel_idNo
credential_idNo
document_nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already declare this as a non-read-only, idempotent, non-destructive, closed-world write, so the description need not repeat safety basics. The description adds useful behavioral context: multiple credentials per person with different dates and validity, clearance expiry versus diploma permanence, and parity with company credentials. It does not discuss permission requirements or conflict handling beyond the credential_id rule.

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 purpose is front-loaded and the sentences are organized logically: what the tool records, why it is separate from the CV, how it relates to company credentials, and how to create versus update. The rationale about CV separation and company-credential parity is useful but makes the description slightly longer than strictly necessary.

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?

Given a 12-parameter upsert with no required parameters and no output schema, the description supplies the crucial invocation logic and domain context. It does not need to explain return values because no output schema exists. It is complete enough to call correctly, though some optional parameter semantics remain undocumented in both schema and description.

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?

With only 0 required parameters and 33% schema description coverage across 12 parameters, the description carries real weight by clarifying the identity parameters for creation versus update. That routing is essential for invoking an upsert correctly. It leaves most optional fields (notes, issued_on, identifier, document_url, document_name) to the schema, so it is helpful but not exhaustive.

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 description states a specific verb and resource: 'Record or update one proof for a person', and immediately grounds it with examples (degree, certificate, training, security clearance). It explicitly separates the tool from the CV and aligns it with company credentials, so the agent can distinguish it from siblings without opening 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?

It gives clear create-vs-update routing: pass credential_id to update, or personnel_id + kind + label to create. It also explains why credentials belong here rather than in the CV. However, it does not name a when-not condition or an explicit alternative such as list_personnel_credentials, so it falls short of full exclusion guidance.

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