Skip to main content
Glama

Commit graph upload

commit_project_sync
DestructiveIdempotent

Atomically publish a sealed hosted graph version.

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>",
      "sealedManifestDigest": "<sealedManifestDigest>",
      "expectedProjectVersion": "<expectedProjectVersion>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "commit_project_sync"
  }
}

Input Schema

NameRequiredDescriptionDefault
syncIdYesUpload synchronization ID returned when the upload began; reuse it through append, seal, commit or abort.
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.
sealedManifestDigestYesDigest returned when this same synchronization was sealed.
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. Changed5 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."
    • 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. Changed4 schema fields changed
    • 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 / sealedManifestDigest / description
      Added value: +"Digest returned when this same synchronization was sealed."
    • 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. Changed6 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."
    • 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.3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, readOnlyHint=false and openWorldHint=false, so the safety profile is covered. The description's single added contribution is 'atomically', which usefully conveys all-or-nothing publication with no partial graph state. It says nothing about what happens to the previously published graph version, or how a stale expectedProjectVersion is surfaced.

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 and its atomicity constraint come first. It is efficient but slightly jargon-dense ('sealed hosted graph version') for a reader who has not yet seen the sibling tools.

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 destructive, seven-parameter, five-required mutation with no output schema and a staged-upload protocol around it, yet the description is one clause. It omits what is returned on success (e.g. the new project version), how version conflicts or digest mismatches fail, and whether the publication can be undone via restore_project_version. The rich annotations and fully documented schema cover part of the burden, but not the lifecycle or failure semantics.

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%, so all seven parameters already carry precise documentation, including the seal-returned digest and the optimistic-concurrency version guard. The description adds no additional parameter meaning beyond the schema, which is the expected baseline here.

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?

States a specific verb (publish) and resource (sealed hosted graph version) plus the 'atomically' qualifier, which separates it from append_project_sync_chunk and seal_project_sync in the sync lifecycle. It stops short of explicitly naming itself as the terminal step of the begin/append/seal/commit sequence, so an agent must infer that ordering.

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?

Usage is only implied: 'sealed' signals the prerequisite that seal_project_sync must have run first, and 'atomically publish' signals the terminal step. There is no explicit when-to-use statement, no mention of abort_project_sync as the alternative path, and no guidance on when to retry versus start a new sync.

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