Skip to main content
Glama

Compl-AI-ance

datasets_upsert

Einen Datensatz anlegen (ohne id) oder ändern (mit id); remove = true löscht weich. answers je Prüffrage als { answer: yes | no | partial, note } — beantwortet ist eine Frage erst mit Notiz. Antworten werden je Frage zusammengeführt.

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": {
      "system_id": "<system_id>"
    },
    "name": "datasets_upsert"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNo
kindNotraining | validation | test | input
nameNo
ownerNo
removeNo
answersNo{ origin | purpose | representative | bias | gaps | updates: { answer, note } }
system_idYes
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the whole burden and does real work: it discloses that deletion is soft ('löscht weich'), that answers are merged per question rather than overwritten, and that a question only counts as answered once a note exists. It does not cover permissions or what happens when an unknown id is passed, which keeps 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.

Conciseness4/5

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

Three tight clauses separated by semicolons, with the create/update/delete rule front-loaded before the answers semantics. Every clause carries non-obvious information; only the phrasing is slightly dense rather than 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 an 8-parameter mutation tool with a nested answers object and no output schema, the definition leaves the required system_id and several scalar fields unexplained, and says nothing about the response. The parts it does cover (id, remove, answers merging) are handled well, so it is adequate but with clear gaps.

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 only 25% across 8 parameters, and the description compensates for just three of them: id, remove, and answers (including the yes/no/partial enum and the note requirement). The required system_id and the fields name, owner, description, and kind receive no explanation in either place.

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 names the resource (Datensatz) and gives the precise verb semantics: create when no id is supplied, update when an id is supplied, and soft-delete when remove=true. This makes it distinguishable from the datasets_list sibling, though the resource name 'Datensatz' is generic enough that the domain is only clear from context.

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?

The 'ohne id / mit id' rule tells the agent exactly which mode it is entering, and 'remove = true löscht weich' supplies the deletion path with its soft-delete caveat. It stops short of naming an explicit alternative (e.g. datasets_list for reading) or stating prerequisites, so it is clear context rather than full when/when-not 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