Skip to main content
Glama

Finish a chunked map upload

finish_map_upload
Destructive

Joins parts 1 to the given count of a chunked upload, validates the map and creates the draft map (or replaces the map's content, keeping a backup). Reports missing parts or where the JSON breaks.

Input Schema

NameRequiredDescriptionDefault
partsYesHow many parts were sent
uploadIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag non-read-only, non-idempotent and destructive behavior; the description usefully adds that it validates the map, reports missing parts or JSON errors, and keeps a backup when replacing content. This meaningfully supplements the safety profile, though it does not discuss auth/rate limits or success return behavior.

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 dense sentence, front-loaded with the action and outcome; the parenthetical efficiently conveys replacement and backup behavior. Every clause carries operational information with no filler.

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, it explains validation and failure reporting as well as backup behavior, while annotations cover the side-effect profile. It omits prerequisites such as start_map_upload/upload_map_part and the success return shape, but provides enough to call it correctly.

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 50%: parts has a range and description, while uploadId is undocumented. The description clarifies that parts are joined from 1 through the supplied count, adding semantics beyond 'how many parts were sent,' but uploadId remains unexplained.

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?

States a specific verb (finish/joins) and resource (chunked map upload) and distinguishes the finalization step from siblings such as start_map_upload and upload_map_part by describing joining parts and creating or replacing a map.

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?

The chunked-upload context implies it should be called after parts are uploaded, but it never explicitly says so, nor when the create-draft vs replace-content path applies or why one would choose this over replace_map_content. Usage is inferable but not guided.

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