Skip to main content
Glama

Send the signed facts to one listing hub

trooth_hub_sync
DestructiveIdempotent

For one hub (business_profile or merchant_center): previews what the signed facts change there, then, with approve true, sends those items, then checks the hub against the signed copy. Each call does the next of preview, send and check and answers next_action. Sending waits for a person's approval where the key needs one.

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": {
      "hub": "<hub>"
    },
    "name": "trooth_hub_sync"
  }
}

Input Schema

NameRequiredDescriptionDefault
hubYesThe hub to sync.
run_idNoThe send to check, from the previous answer.
approveNotrue sends the items the preview showed. Leave it out to preview.
trooth_idNoThe company's trooth_id. Leave it out to use the one your key or sign-in acts for.
idempotency_keyNoA new value for each send; the same value answers the same send.

Output Schema

NameRequiredDescriptionDefault
stepNo
itemsNo
detailNo
run_idNo
statusNoSet on a refusal: invalid_request, read_only, task_risk_detected or unavailable.
next_actionNoThe one next call: tool (null when a person acts), arguments, label, and url where a page does it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and openWorldHint=true, so the safety profile is known; the description adds real context on top: the change is staged behind a preview, sending is gated on human approval when the key requires it, and each call advances a state machine reported via next_action. It never says what the send overwrites or whether a send can be undone, which is the main unaddressed risk for a destructive operation.

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?

Three tight sentences that front-load the hub scope and then the phase order, with no marketing filler. The middle sentence ('Each call does the next of preview, send and check and answers next_action') is slightly convoluted but carries the key state-machine information.

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

Completeness5/5

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

An output schema exists, so return-value explanation is unnecessary, and the description covers the input-side behavior an agent needs: hub selection, the staged preview/send/check flow, the approval gate, and the fact that next_action drives the next call. Given a 5-parameter schema with full coverage and explicit annotations, nothing essential is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3, but the description explains how parameters relate across calls: approve selects the send stage, and the check stage consumes an answer from a prior call, which gives run_id meaning the per-parameter schema text only implies. It still does not discuss when to supply trooth_id versus relying on the acting identity, or the reuse semantics of idempotency_key beyond what the schema states.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource (one hub, restricted to business_profile or merchant_center) and a specific three-phase action: preview the impact of the signed facts, send them on approve, then verify the hub against the signed copy. That scope is distinct from sibling tools like profile_publish or profile_update, which target profile fields rather than hub-level fact sync.

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

Usage Guidelines4/5

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

It lays out the call sequence ('Each call does the next of preview, send and check') and states the condition that advances from preview to send ('with approve true'). It does not name an alternative tool for cases where a hub sync is the wrong choice, so it stops short of explicit when-not guidance.

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