Skip to main content
Glama

Begin graph upload

begin_project_sync
DestructiveIdempotent

Begin a bounded hosted graph synchronization with four plain-language changeNarrative sections written manually by the publishing agent.

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": {
      "projectId": "<projectId>",
      "expectedProjectVersion": "<expectedProjectVersion>",
      "declaredChunkCount": "<declaredChunkCount>",
      "declaredCanonicalBytes": "<declaredCanonicalBytes>",
      "declaredNodeCount": "<declaredNodeCount>",
      "declaredEdgeCount": "<declaredEdgeCount>",
      "declaredProseBytes": "<declaredProseBytes>",
      "idempotencyKey": "<idempotencyKey>",
      "changeNarrative": "<changeNarrative>"
    },
    "name": "begin_project_sync"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectIdYesOwned Brain Scanner project ID from the account's project list; not a local path or repository URL.
sessionIdNoID of this project's active agent session, returned when the session was started. Not needed for read-only calls.
executionIdNoExecution record ID returned when the execution was registered; associates this call with that execution. Not a session or project ID.
idempotencyKeyYesCaller-generated retry key. Reuse the same key and identical payload only to retry the same mutation; use a new key for a new action.
mappedRevisionNoLocal revision identifier represented by the submitted mapping.
changeNarrativeYesWrite four short, privacy-filtered summaries: added, updated, removed and relationships. Describe what changed in the graph; use a plain statement when a section has no changes.
declaredEdgeCountYesTotal number of graph edges declared for the upload.
declaredNodeCountYesTotal number of graph nodes declared for the upload.
declaredChunkCountYesTotal number of chunks the complete upload will contain.
declaredProseBytesYesExpected number of prose bytes in the graph upload.
declaredCanonicalBytesYesExpected canonical byte count across all chunks.
expectedProjectVersionYesCurrent hosted project version from the latest project status read; guards against overwriting a newer graph publication.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / executionId / description
      Previous value: -"Execution record.id from begin_agent_execution when associating this call with an existing execution; not a session or project ID."New value: +"Execution record ID returned when the execution was registered; associates this call with that execution. Not a session or project ID."
    • changedInput schema / properties / expectedProjectVersion / description
      Previous value: -"Current hosted project version from get_project_status; guards against overwriting a newer graph publication."New value: +"Current hosted project version from the latest project status read; guards against overwriting a newer graph publication."
    • changedInput schema / properties / projectId / description
      Previous value: -"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."New value: +"Owned Brain Scanner project ID from the account's project list; not a local path or repository URL."
    • changedInput schema / properties / sessionId / description
      Previous value: -"Active session record.id from start_agent_session for this project. Pass it on later project calls after starting the session."New value: +"ID of this project's active agent session, returned when the session was started. Not needed for read-only calls."
  2. Changed9 schema fields changed
    • addedInput schema / properties / changeNarrative / description
      Added value: +"Write four short, privacy-filtered summaries: added, updated, removed and relationships. Describe what changed in the graph; use a plain statement when a section has no changes."
    • addedInput schema / properties / declaredCanonicalBytes / description
      Added value: +"Expected canonical byte count across all chunks."
    • addedInput schema / properties / declaredChunkCount / description
      Added value: +"Total number of chunks the complete upload will contain."
    • addedInput schema / properties / declaredEdgeCount / description
      Added value: +"Total number of graph edges declared for the upload."
    • addedInput schema / properties / declaredNodeCount / description
      Added value: +"Total number of graph nodes declared for the upload."
    • addedInput schema / properties / declaredProseBytes / description
      Added value: +"Expected number of prose bytes in the graph upload."
    • changedInput schema / properties / executionId / description
      Previous value: -"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."New value: +"Execution record.id from begin_agent_execution when associating this call with an existing execution; not a session or project ID."
    • addedInput schema / properties / mappedRevision / description
      Added value: +"Local revision identifier represented by the submitted mapping."
    • changedInput schema / properties / sessionId / description
      Previous value: -"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."New value: +"Active session record.id from start_agent_session for this project. Pass it on later project calls after starting the session."
  3. Changed5 schema fields changed
    • addedInput schema / properties / executionId / description
      Added value: +"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."
    • addedInput schema / properties / expectedProjectVersion / description
      Added value: +"Current hosted project version from get_project_status; guards against overwriting a newer graph publication."
    • addedInput schema / properties / idempotencyKey / description
      Added value: +"Caller-generated retry key. Reuse the same key and identical payload only to retry the same mutation; use a new key for a new action."
    • addedInput schema / properties / projectId / description
      Added value: +"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."
    • addedInput schema / properties / sessionId / description
      Added value: +"Owned project ID returned by list_linked_projects or map_project; do not use a local path or repository URL."
  4. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description adds that the sync is 'bounded' and that narrative sections are manual and privacy-filtered, which is useful, but it never says what the destructive action affects (an existing published graph?) or how retries interact with the idempotency key beyond what the schema says.

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?

A single front-loaded sentence with no filler; the action leads and the narrative constraint follows. The trailing clause about 'four plain-language changeNarrative sections written manually by the publishing agent' is slightly dense but still earns its place.

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?

For a 12-parameter, nested-schema, destructive mutation with no output schema, the description omits the lifecycle (which sibling continues the upload) and what the call returns, such as a sync or session identifier needed by append_project_sync_chunk. The rich schema and annotations compensate partially, but the operational sequence is missing.

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 description coverage is 100%, including detailed descriptions for idempotencyKey, expectedProjectVersion and the nested changeNarrative object, so the schema does the heavy lifting. The description only reinforces that the four narrative sections must be written by hand rather than generated, adding modest meaning beyond the schema.

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?

'Begin' plus 'hosted graph synchronization' gives a specific verb and resource, and 'bounded' signals the upload is scoped to declared limits. It does not name or differentiate itself from lifecycle siblings such as commit_project_sync or seal_project_sync, so an agent must infer where this sits in the flow from the names alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies this is the first step of a multi-step sync but never says when to choose it over clear_project_graph or publish-related siblings, nor what to do afterwards. No prerequisites (project version guard, session/execution context) or exclusions are stated despite nine required parameters and several lifecycle siblings.

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