Skip to main content
Glama

Get Writing Context

get_writing_context

Liest begrenzten, höchstens fünf Minuten alten Schreibkontext für einen konkreten Verein, eine Liga, einen Pokal, Forumthread oder das eigene Postfach. Liefert echte Beispiele, Fakten, Kanalregeln, Stichprobenumfang und Aktualität ohne manuelles sync_index. Formuliere den Beitrag selbst; das Tool sendet nichts und markiert keine Mail als gelesen.

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": {
      "channel": "<channel>"
    },
    "name": "get_writing_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNoOptionale Suche innerhalb des Kontexts.
intentNoDein Schreibanlass, keine Textgenerierung.
channelYes
liga_idNoNur Ligatalk; sonst Liga des Zielvereins.
mail_idNoOptional einzelne eigene Nachricht.
refreshNoAuch einen höchstens fünf Minuten alten Kontext erneut lesen.
pokal_idNoNur Pokaltalk; sonst eigener Pokal.
thread_idNoFür Forum erforderlich.
verein_idNoZielverein für Liga oder Gästebuch; sonst aktiver Verein.
thread_keyNoOptional bekannter Postfach-Thread; andere Kanäle nutzen fachliche IDs.
expected_verein_idNoOptionaler Kontextanker: muss dem beim Aufruf aktiven Verein entsprechen (0 = keiner).

Output Schema

NameRequiredDescriptionDefault
dataNo
metaNo
toolYes
traceNo
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing the 5-minute freshness bound, the bounded result semantics, and two concrete non-side-effects (sends nothing, does not mark mail as read). It does not explain the state change implied by readOnlyHint=false (likely the context cache refresh behind 'refresh'), which is a small remaining gap.

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 sentences, front-loaded with the core verb and scope, then return content, then the post-condition. The middle sentence enumerates payload items that the output schema already covers, which is slightly redundant but not harmful.

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?

For a 12-parameter tool with an output schema and annotations present, the description supplies the pieces the structured fields cannot: freshness policy, non-mutation guarantees, and post-tool responsibility. Only the readOnly=false rationale and empty-context behavior remain unaddressed.

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 already 83% and documents limit, query, intent, refresh, thread_id and expected_verein_id directly. The description adds the channel-to-entity mapping and the freshness/refresh relationship, but nothing about limit, query, or the expected_verein_id anchor beyond what the schema says.

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?

Stated as a read of 'Schreibkontext' scoped to concrete entities (Verein, Liga, Pokal, Forumthread, Postfach), with the channel enum effectively enumerated. It distinguishes itself from 'manuelles sync_index', though it gives no signal versus closer siblings like get_thread_context or get_community_style_context.

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?

Usage is implied rather than stated: the tool is for gathering context before writing a contribution, and 'Formuliere den Beitrag selbst' signals that drafting happens elsewhere. There is no explicit when-not rule and no named alternative for the near-identical context-lookup siblings, so the agent must infer routing.

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.