Skip to main content
Glama

Finish an upload

finish_upload

Finish a file added to a project (list_project_data shows those waiting): say what it is (title, source, year, licence: cc-by, cc0, cc-by-nc, other-open, restricted or unsure; item = the data-check item it fills), match its columns (mapping, {field: column}, e.g. {"scientificName": "species"}), run Biohotspot's checks and, unless accept is false, use it so it shows on the map and counts in the data check. What is not given keeps its current value. Returns the check's verdict. Needs owner or editor rights.

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": {
      "upload_id": "<upload_id>"
    },
    "name": "finish_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemNo
yearNo
titleNo
acceptNoUse it once the checks pass (default true)
sourceNo
licenceNo
mappingNo
upload_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare readOnly=false/openWorld=false/destructive=false; the description adds real value on top: partial-update semantics ('What is not given keeps its current value'), the downstream effect of accept (appears on map, counts in data check), the return value ('the check's verdict'), and an authorization requirement ('Needs owner or editor rights'). The gap is failure behavior when checks do not pass.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

Every clause carries information, but the whole definition is a single run-on sentence with nested parentheses and slashless enumerations, which makes it harder to scan than necessary. Front-loading the purpose is done well.

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 an 8-parameter mutation with no output schema, the description covers field meanings, defaults, side effects, return value and permissions. What is missing is the error/verdict-failure path and where upload_id comes from.

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?

Schema coverage is only 13% and the schema has no enums, so the description carries the load and does: it enumerates the licence vocabulary, explains 'item' as the data-check item filled, and gives the mapping shape plus a concrete example. Only upload_id's provenance is left implicit.

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?

Names a specific verb and resource ('Finish a file added to a project') and immediately scopes what kind of file via the parenthetical pointer to list_project_data. An agent can distinguish this from list_project_data and add_project_data from the text alone.

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?

Clearly frames the precondition ('a file added to a project') and points to list_project_data to find pending uploads, plus a conditional rule for accept. It stops short of explicitly naming the sibling that creates the upload (add_project_data) or stating what to do when checks fail.

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