Skip to main content
Glama

sync_peer

Bounded outbound peer sync: POST signed /sync/webhook for observations (requires NEOTOMA_PUBLIC_BASE_URL, NEOTOMA_LOCAL_PEER_ID, peer sync_target_user_id). Optional limit.

Instructions

Bounded outbound peer sync: POST signed /sync/webhook for observations (requires NEOTOMA_PUBLIC_BASE_URL, NEOTOMA_LOCAL_PEER_ID, peer sync_target_user_id). Optional limit. Pulled rows whose entity_type is not admitted are skipped and counted in refused; pushed rows the peer refuses by entity type are counted in refused_by_peer, not failed.

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": {
      "peer_id": "<peer_id>"
    },
    "name": "sync_peer"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax observations to consider this run (default 200)
peer_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.15.0
  2. Removedv0.14.0
  3. Addedv0.12.1

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden and does well to explain that the call is bounded, requires specific environment configuration, and that skipped/refused rows are counted in refused and refused_by_peer rather than failed. It omits whether the operation mutates peer state, is idempotent, what auth the signature requires, and what happens on network or remote errors.

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?

Front-loaded with the purpose in the first clause, then mechanism order. Dense jargon and a long single sentence, but every clause (endpoint, env requirements, refusal counters) conveys operative information.

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?

No output schema and no annotations, so the description must cover everything; it captures the sync mechanism and partial result accounting (refused vs refused_by_peer) but leaves the required peer_id ambiguous and never addresses idempotency, side effects on the peer, or error behavior. Adequate but with clear gaps for a mutating sync tool.

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 coverage is 50%: limit is already fully documented in the schema (max 500, default 200) and the description only echoes 'Optional limit', adding nothing. peer_id is undocumented in both schema and description, so an agent gets no meaning for the required parameter beyond the name.

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?

Names a specific verb, resource and direction: 'Bounded outbound peer sync' that POSTs to a signed /sync/webhook for observations. An agent can immediately tell this pushes observation data to a specific peer, which distinguishes it from inbound/other sync siblings, though it never names an alternative.

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?

Prerequisites (NEOTOMA_PUBLIC_BASE_URL, NEOTOMA_LOCAL_PEER_ID, sync_target_user_id) and the 'Optional limit' note imply when the tool is usable, and 'observations' narrows the scope. However, there is no explicit when-to-use or when-not guidance and no routing to siblings such as sync_entity_submissions or sync_issues.

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