Skip to main content
Glama

Sync revenue now

sync_revenue
DestructiveIdempotent

Pull the latest payments and subscriptions from every connected provider now instead of waiting for the scheduled sync (hourly for Stripe, every 15 minutes for the others), e.g. after link_product. Only reads from the provider. Account-wide, at most once every 2 minutes. Needs write access.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "sync_revenue"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Adds real context beyond the annotations: per-provider sync cadence, account-wide scope, a rate limit, and a write-access requirement. However, annotations declare destructiveHint=true while the description says 'Only reads from the provider' and 'Needs write access' without explaining what data gets overwritten or replaced locally, so the agent may underestimate the mutation risk. No contradiction (the read claim is scoped to the provider side), but the destructive behavior is undisclosed.

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?

A single dense sentence where every clause carries load: action, scope, alternative behavior, cadence parenthetical, example trigger, safety note, rate limit, and permission requirement. Front-loaded with the action and free of filler.

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

Completeness4/5

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

Complete enough for a zero-parameter trigger tool: it explains what happens, when to call it, and its limits, and no output schema means return values needn't be described. A minor gap is guidance on what to do after the sync (e.g., read results via get_revenue or get_revenue_activity) or on partial provider failures.

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?

The tool has zero parameters and an empty schema object, so there is nothing for the description to disambiguate. Baseline of 4 applies for a no-parameter tool.

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?

States a specific verb and resource ('Pull the latest payments and subscriptions'), the scope ('from every connected provider'), and the timing ('now instead of waiting for the scheduled sync'). An agent can distinguish this from read tools like get_revenue without opening a schema.

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

Usage Guidelines5/5

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

Gives an explicit trigger ('e.g. after link_product') and states the alternative behavior being bypassed (scheduled sync, with per-provider cadence). Adds a hard constraint ('at most once every 2 minutes') that governs invocation frequency.

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