Skip to main content
Glama

Seal graph upload

seal_project_sync
DestructiveIdempotent

Validate and seal a complete hosted graph upload.

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>",
      "chunkCount": "<chunkCount>",
      "canonicalBytes": "<canonicalBytes>",
      "nodeCount": "<nodeCount>",
      "edgeCount": "<edgeCount>",
      "proseBytes": "<proseBytes>",
      "orderedChunkDigest": "<orderedChunkDigest>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "seal_project_sync"
  }
}

Input Schema

NameRequiredDescriptionDefault
syncIdYesUpload synchronization ID returned when the upload began; reuse it through append, seal, commit or abort.
edgeCountYesFinal count of edges in the uploaded graph.
nodeCountYesFinal count of nodes in the uploaded graph.
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.
chunkCountYesFinal number of chunks included in the sealed upload.
proseBytesYesFinal count of prose bytes in the uploaded graph.
executionIdNoExecution record ID returned when the execution was registered; associates this call with that execution. Not a session or project ID.
canonicalBytesYesFinal canonical byte count for the uploaded graph.
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.
orderedChunkDigestYesDigest of the uploaded chunk sequence in its intended order.

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. Changed9 schema fields changed
    • addedInput schema / properties / canonicalBytes / description
      Added value: +"Final canonical byte count for the uploaded graph."
    • addedInput schema / properties / chunkCount / description
      Added value: +"Final number of chunks included in the sealed upload."
    • addedInput schema / properties / edgeCount / description
      Added value: +"Final count of edges in the uploaded graph."
    • 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 / nodeCount / description
      Added value: +"Final count of nodes in the uploaded graph."
    • addedInput schema / properties / orderedChunkDigest / description
      Added value: +"Digest of the uploaded chunk sequence in its intended order."
    • addedInput schema / properties / proseBytes / description
      Added value: +"Final count of prose bytes in the uploaded graph."
    • 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

C2.9/5.0
Behavior2/5

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

Annotations already declare that the operation is destructive and idempotent, so the description does not need to repeat those facts. However, it does not explain what sealing destroys or finalizes, whether validation failures are recoverable, or what preconditions must be met before sealing a complete upload.

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 a single front-loaded sentence with no filler or redundant wording. It is structurally clean, though its brevity leaves important lifecycle context unstated.

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, 11-parameter lifecycle operation with no output schema, and the description does not explain sequencing, prerequisites, validation behavior, or relationship to commit and abort. The schema and annotations cover parameters and safety hints, but the description is not complete enough to guide correct invocation in the upload lifecycle.

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 documents all 11 parameters, including IDs, counts, digest, and idempotency key. The description adds no parameter-level meaning beyond the schema, so the baseline of 3 applies.

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 clearly states a specific action and resource: validate and seal a complete hosted graph upload. It identifies the lifecycle stage reasonably well, but it does not distinguish this stage from sibling operations such as commit_project_sync, abort_project_sync, or validate_project_graph.

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 gives no explicit guidance on when to call this tool versus siblings. It does not say whether this must follow append_project_sync_chunk, whether it precedes commit_project_sync, or what alternatives exist if the upload is incomplete.

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