Skip to main content
Glama

Upload graph chunk

append_project_sync_chunk
DestructiveIdempotent

Append one privacy-filtered graph metadata chunk to a hosted synchronization.

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>",
      "syncId": "<syncId>",
      "chunkIndex": "<chunkIndex>",
      "chunkDigest": "<chunkDigest>",
      "chunkSize": "<chunkSize>",
      "nodes": "<nodes>",
      "edges": "<edges>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "append_project_sync_chunk"
  }
}

Input Schema

NameRequiredDescriptionDefault
edgesYesDirected relationships between graph nodes, using their stable IDs.
nodesYesPrivacy-filtered graph nodes with stable IDs, labels and component types.
syncIdYesUpload synchronization ID returned when the upload began; reuse it through append, seal, commit or abort.
chunkSizeYesSize of this canonical graph chunk in bytes.
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.
chunkIndexYesPosition of this chunk in the ordered upload.
chunkDigestYesDigest of this canonical graph chunk, used to check its integrity.
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.

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 / 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."
    • changedInput schema / properties / syncId / description
      Previous value: -"Upload synchronization ID returned by begin_project_sync; reuse it through append, seal, commit or abort."New value: +"Upload synchronization ID returned when the upload began; reuse it through append, seal, commit or abort."
  2. Changed8 schema fields changed
    • addedInput schema / properties / chunkDigest / description
      Added value: +"Digest of this canonical graph chunk, used to check its integrity."
    • addedInput schema / properties / chunkIndex / description
      Added value: +"Position of this chunk in the ordered upload."
    • addedInput schema / properties / chunkSize / description
      Added value: +"Size of this canonical graph chunk in bytes."
    • addedInput schema / properties / edges / description
      Added value: +"Directed relationships between graph nodes, using their stable IDs."
    • 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 / nodes / description
      Added value: +"Privacy-filtered graph nodes with stable IDs, labels and component types."
    • 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."
    • changedInput schema / properties / syncId / 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: +"Upload synchronization ID returned by begin_project_sync; reuse it through append, seal, commit or abort."
  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 / 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."
    • addedInput schema / properties / syncId / 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?

The annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is partly covered. The description adds useful context that the chunk is 'privacy-filtered graph metadata' sent to a 'hosted synchronization,' but it does not explain what the destructive effect is, whether chunk order matters, or how idempotent retries interact with chunkIndex and chunkDigest.

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?

The description is a single front-loaded sentence with no filler. It states the action, payload nature, and target clearly, making efficient use of limited space.

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

Completeness2/5

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

This is a complex mutation tool with 10 parameters, 8 required fields, destructive and idempotent behavior, and a multi-step sync workflow. The one-sentence description does not explain the required lifecycle around begin, append, seal, commit, or abort, nor does it clarify chunk ordering or retry expectations. The rich schema helps, but the description is incomplete for an agent to invoke this safely in the workflow.

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%, and the schema itself documents all 10 parameters, including syncId, chunkIndex, chunkDigest, and idempotencyKey. The description does not add parameter-specific meaning beyond reinforcing that the payload is a privacy-filtered graph chunk. A baseline of 3 is appropriate when the schema carries parameter semantics.

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 uses a specific verb and resource: 'Append one privacy-filtered graph metadata chunk to a hosted synchronization.' This clearly distinguishes a chunk-upload operation from sync lifecycle actions such as begin, seal, commit, or abort. However, it does not explicitly name a sibling or explain how it differs from adjacent graph operations.

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 the tool is used during a hosted synchronization, but it gives no explicit when-to-use guidance, no prerequisites, and no alternatives. It does not state that a sync must first be begun or that a seal/commit step follows, which matters given the surrounding sync lifecycle tools.

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