Skip to main content
Glama

Sync Index

sync_index

Wartung/Fehlerdiagnose: normale Such- und Kontexttools aktualisieren bedarfsgerecht. Synchronisiert sichtbare API-Daten in den lokalen SQLite/FTS-Index. Jeder Aufruf liest erneut; kein Replaycache. Ein optionaler alter idempotency_key wird ignoriert. liga/saison/spieltag begrenzen nur tabellen und ligaspiele. Liga-/Pokal-Backfill wird je Filterkontext persistent fortgesetzt, einschließlich ausstehender Sportschauberichte; has_more/reports_pending beachten. force_full startet diesen Kontext neu. Nach END beginnt ein neuer Aktualisierungslauf.

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_index"
  }
}

Input Schema

NameRequiredDescriptionDefault
ligaNoFilter nur für tabellen und ligaspiele.
saisonNoFilter nur für tabellen und ligaspiele.
sourcesNoQuellen: ligatalk, pokaltalk, gaestebuch_ticker, postfach, guestbook_own, news, tabellen, testspiele, ligaspiele, pokalspiele, content_docs, termine.
spieltagNoFilter nur für tabellen und ligaspiele.
force_fullNo
max_batchesNo
talk_offsetsNoTalk-Sync bei next_offset fortsetzen. Schlüssel ligatalk/pokaltalk; ohne Wert beginnt die Quelle bei 0. Bei neu eintreffenden Einträgen können sich Offset-Seiten verschieben; anschließend erneut ab 0 synchronisieren.
idempotency_keyNoOptional für alte Clients; wird ignoriert, kein Replaycache.
limit_per_sourceNo

Output Schema

NameRequiredDescriptionDefault
dataNo
metaNo
toolYes
traceNo
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / sources / items / enum
      Added value: +[
      +  "ligatalk",
      +  "pokaltalk",
      +  "gaestebuch_ticker",
      +  "postfach",
      +  "guestbook_own",
      +  "news",
      +  "tabellen",
      +  "testspiele",
      +  "ligaspiele",
      +  "pokalspiele",
      +  "content_docs",
      +  "termine"
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "data": {},
      +    "meta": {
      +      "type": "object"
      +    },
      +    "status": {
      +      "enum": [
      +        "ok",
      +        "error"
      +      ],
      +      "type": "string"
      +    },
      +    "tool": {
      +      "type": "string"
      +    },
      +    "trace": {
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "tool",
      +    "status"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior5/5

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

The description adds substantial behavior that is not in the annotations: every call re-reads, there is no replay cache, an old idempotency_key is ignored, liga/saison/spieltag only constrain tabellen and ligaspiele, backfill persists per filter context including pending Sportschau reports, and a new run begins after END. This is consistent with the annotations (readOnlyHint=false because a local index is written, idempotentHint=false because there is no replay cache) and goes well beyond them.

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 front-loaded with the purpose and keeps its operational constraints compact, which suits a nine-parameter tool. The telegraphic, semicolon-chained German phrasing borders on dense, but almost every sentence carries distinct operational information.

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?

Given that an output schema exists, the description does not need to explain return values, and it covers the important stateful mechanics: backfill continuation, force_full, offsets, and post-END restarts. The remaining gaps concern the batching controls (max_batches, limit_per_source) and how they interact with the described backfill loop.

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 description adds meaning beyond the 67%-covered schema, notably the crucial caveat that liga/saison/spieltag only filter tabellen and ligaspiele, that force_full restarts the current context, and that idempotency_key is ignored. max_batches and limit_per_source are left undocumented in both the schema and the description, which prevents a 5.

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 gives a specific verb and resource: 'Synchronisiert sichtbare API-Daten in den lokalen SQLite/FTS-Index', and frames it as 'Wartung/Fehlerdiagnose'. It also distinguishes normal search/context tools that refresh on demand. It would be a 5 if it named a concrete sibling tool (for example, index_stats) instead of the generic 'normale Such- und Kontexttools'.

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?

The phrase 'normale Such- und Kontexttools aktualisieren bedarfsgerecht' tells the agent that this tool is not the default path and that it exists for maintenance or diagnosis. The description also states when to use force_full ('startet diesen Kontext neu') and when to continue via talk_offsets/has_more. It gives no explicit 'do not use when' exclusion, so it falls just short of a 5.

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.