Skip to main content
Glama

Upsert dossier

upsert_dossier
Idempotent

Write the dossier for one tender or grant — creates it or replaces the content. Pass exactly one of tender_id / grant_id. content is Markdown: a short management summary and what needs to be done.

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": {
      "content": "<content>"
    },
    "name": "upsert_dossier"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoDefaults to the procedure's own title on first write.
contentYes
grant_idNo
tender_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

The description adds behavior beyond the annotations: this is a create-or-replace write, and exactly one parent identifier is allowed. Since annotations already state readOnlyHint=false and idempotentHint=true, the replacement semantics are the main new information. It does not describe authorization requirements or what happens to other dossier fields/title on replacement, keeping it from 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?

Two compact sentences front-load the action and then give the critical parameter rules. Every clause contributes—no restatement of the title or annotations. Structure is easy to scan.

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 mutation tool with no output schema, the definition supplies the essential create-or-replace semantics, parent-ID constraint, and content expectation. Annotations cover safety/idempotency and the schema covers title defaults, so no critical invocation detail is missing. It could be more complete by noting permissions or the response/return behavior.

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 description coverage is only 25%, so the description must carry meaning; it does explain that exactly one of the two ID parameters is required and that content is Markdown with a summary plus next actions. The title parameter is covered by the schema, so all params get some coverage, though ID formats and edge cases are not specified. That is stronger than baseline but not exhaustive.

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 uses a specific verb and resource—'Write the dossier'—and scopes it to one tender or grant. 'Creates it or replaces the content' makes the upsert behavior explicit. It does not distinguish this from closely named siblings such as upsert_dossier_document or upsert_dossier_view, so it falls short of a 5.

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

Usage Guidelines3/5

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

It tells the caller to pass exactly one of tender_id/grant_id and what content should contain, which implies the appropriate context. It gives no explicit when-to-use/when-not-to-use guidance and does not route among alternatives like upsert_dossier_document. That is minimum-viable implied usage.

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