Skip to main content
Glama
Attacktive

claude-projects-mcp-server

by Attacktive

push_documents

Upload local text files to a project, skipping unchanged files and requiring overwrite for differing ones. Preview with dry-run to avoid exceeding project size limits.

Instructions

Upload a local folder's text files into the project. Unchanged files are skipped, differing ones need overwrite=true, and remote documents missing locally are never deleted; the project's uploaded files are untouched and cannot be pushed. Use dry_run=true to preview. Stops at the first file that would grow the project past its search threshold or its maximum (allow_search_mode=true accepts the threshold); files already pushed stay. Relay any warning in the result to the user verbatim.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dry_runNo
patternNo*.md
overwriteNo
project_idYes
source_directoryYes
allow_search_modeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.5.0
    • addedInput schema / properties / allow_search_mode
      Added value: +{
      +  "default": false,
      +  "title": "Allow Search Mode",
      +  "type": "boolean"
      +}
  2. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the single destructiveHint:false annotation, the description discloses skipped unchanged files, overwrite requirements, the never-delete guarantee, threshold behavior, error-stop semantics, and the need to relay warnings. This is rich behavioral context that materially affects how an agent should run and handle the result.

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 paragraph is dense but every sentence adds operational value, and key behaviors are front-loaded before edge cases. It is slightly monolithic and has minor overlap between 'remote documents missing locally are never deleted' and 'the project's uploaded files are untouched', but it remains efficient.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex six-parameter tool with no output schema, the description covers preview mode, overwrite handling, deletion safety, size-limit aborts, persistence of already-pushed files, and verbatim warning handling. These are exactly the conditions an agent needs to predict before invoking the tool.

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?

With 0% schema description coverage, the description compensates by explaining dry_run, overwrite, allow_search_mode, project_id, and source_directory. The pattern parameter is only implicitly covered via the 'text files' wording and the default '*.md', but no explicit glob/filter semantics are given.

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?

The description states a specific action, upload local text files into a project, and clearly distinguishes the direction from pull_documents. It also establishes scope boundaries ('the project's uploaded files are untouched and cannot be pushed'), so an agent understands exactly what this tool does and does not do.

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?

It gives concrete parameter guidance: use dry_run=true to preview, set overwrite=true for differing files, and use allow_search_mode=true to accept the threshold. It also states an exclusion, that project-uploaded files cannot be pushed, but it does not explicitly name sibling tools or say when to prefer write_document/pull_documents.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.