Skip to main content
Glama

upload_clockin_project_file

Destructive

Upload a file or photo to a clockin project (POST /projects/{id}/files). Required: id, title, and EITHER document_id (a file already stored in DelegAIze, e.g. a mail attachment from fetch_attachments or an upload — preferred, the server reads it, nothing goes through your context) OR base64 (only for tiny content). Optional: created_at (ISO).

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": {
      "id": "<id>",
      "title": "<title>"
    },
    "name": "upload_clockin_project_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesclockin-ID des Projekts
titleYestitle
base64Nobase64
created_atNocreated at
document_idNoDelegAIze document id (mail attachment, upload) — the server loads the file itself

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / document_id
      Added value: +{
      +  "description": "DelegAIze document id (mail attachment, upload) — the server loads the file itself",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "id",
      -  "title",
      -  "base64"
      -]New value: +[
      +  "id",
      +  "title"
      +]
  2. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, idempotentHint=false and openWorldHint=true; the description adds genuinely new behavior by explaining that with document_id the server loads the file itself so bytes never transit the agent's context. That is a real operational trade-off an agent could not infer from annotations. It does not, however, explain what the destructive flag means in practice (duplicate files on retry, overwrite semantics) or what the call returns.

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?

A single lead sentence for purpose followed by a compact required/optional breakdown with the preferred path called out first. No filler; every clause carries parameter or behavior information the agent needs before invoking.

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?

There is no output schema, and the description never says what the tool returns (file id, URL, echoed metadata), which matters for a follow-up-heavy write. The destructiveHint also goes unexplained. Otherwise the definition is complete enough to invoke correctly on the first attempt.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema's own descriptions are near-tautologies ('title', 'base64', 'created at'), so the 100% coverage figure is misleading; the description is what actually supplies meaning. It designates required vs optional, defines the document_id/base64 mutual exclusivity and preference, explains that document_id is a DelegAIze document id sourced from mail attachments or uploads, and marks created_at as ISO.

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?

Specific verb and resource ('Upload a file or photo to a clockin project') plus the underlying endpoint POST /projects/{id}/files, which pins the exact target resource. This clearly distinguishes it from siblings like search_clockin_project_files or upload_document, which act on different resource families.

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?

Explicitly states the required set (id, title) and the EITHER/OR rule between document_id and base64, including a stated preference ('preferred, the server reads it, nothing goes through your context') and a constraint ('only for tiny content'). It also points to a concrete source for document_id (fetch_attachments), but never says when to choose this tool over near-neighbours such as upload_document or upload_remote_file.

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.