Skip to main content
Glama

ohmyho.st

Commit source upload

source_upload_commit
DestructiveIdempotent

Seal the complete uploaded file manifest as one managed version for an initialize or commit upload. The manifest must exactly match the upload receipts and retained unchanged files, including hashes, byte lengths and executable flags. Previously committed files absent from the full snapshot are deleted. Limit 8 MiB and 2,000 files. Returns an asynchronous operation and starts no deployment.

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": {
      "project_id": "<project_id>",
      "operation_id": "<operation_id>",
      "expected_source_generation": "<expected_source_generation>",
      "files": "<files>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "source_upload_commit"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesYes
project_idYes
operation_idYes
idempotency_keyYes
expected_source_generationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior5/5

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

Beyond the annotations, the description explains the destructive behavior precisely: previously committed files absent from the full snapshot are deleted. It also adds operational limits, notes the asynchronous return, and clarifies that committing does not start a deployment.

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?

The description is four dense sentences with no filler, and the core operation is front-loaded. It could be slightly easier to scan, but every sentence contributes relevant information.

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?

It covers several critical behaviors — exact manifest matching, deletion of absent files, size limits, async operation, no deployment — but remains incomplete for a five-required-parameter mutation because key parameters such as expected_source_generation and operation_id are unexplained.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry the parameter burden. It only partially does so: it explains the files manifest fields and limits, but leaves project_id, operation_id, expected_source_generation, and idempotency_key without meaning or behavioral context.

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 states a specific verb and resource: seal the complete uploaded file manifest as one managed version for an initialize or commit upload. It is clear what the tool does and how it differs from a raw upload, though it does not explicitly name sibling alternatives.

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 gives meaningful preconditions — the manifest must exactly match upload receipts and retained unchanged files — and clarifies that no deployment starts. However, it does not explicitly state when not to use this tool or name an alternative sibling for partial/other upload flows.

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.