Skip to main content
Glama

link_dynamic

Read-only

Match-Mention gegen Caller-supplied Kandidaten-Vokabular. When to use: Caller hat ein eigenes Vokabular (z.B. Custom-Enum, App-State, Domänen-spezifische Begriff-Liste) und will eine User-Mention darauf mappen. When NOT to use: Standard-Place/Stop/Time/MoT/Line-Linking → die spezialisierten link_*-Tools nutzen. Ohne Kandidaten ist der Linker leer. Required args: text, candidates ([{name, synonyms?, coord?}, …]) MUST be non-empty — die candidate-Liste IST das Vokabular. Typical chain: THIS_TOOL → (custom Caller-Logik). Multi-call: ein Call pro Mention/Vokabular-Set. Anti-Fab note: nur Kandidaten aus dem candidates-Arg matchen, KEIN impliziter Vokabular-Erweiterung. Returns candidates[].candidate:<name>, score, span.

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": {
      "text": "<text>",
      "candidates": "<candidates>"
    },
    "name": "link_dynamic"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesFree-text mention to match against the caller-supplied candidate list.
candidatesYesCandidate vocabulary the linker should pick from. REQUIRED — an empty list is an argument error.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / candidates / description
      Previous value: -"Candidate vocabulary the linker should pick from. REQUIRED — the\nbackend rejects empty candidate lists with 400."New value: +"Candidate vocabulary the linker should pick from. REQUIRED — an empty\nlist is an argument error."
  2. 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 readOnly/openWorld/non-destructive, so the description is not carrying the safety burden. It still adds real behavioral content beyond them: empty `candidates` is an argument error, no implicit vocabulary expansion (anti-fabrication), and the returned shape (candidate name, score, span). It does not discuss scoring thresholds or how ties/partial matches behave, which keeps it short of a 5.

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?

Bold labels and a front-loaded purpose sentence make it scannable, and every labeled block targets a different decision. There is redundancy between 'Ohne Kandidaten ist der Linker leer' and the later MUST-be-non-empty requirement, and the mixed German/English phrasing costs a little efficiency.

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?

For a 2-parameter tool with no output schema, the definition covers selection criteria, the hard argument constraint, multi-call behavior, and the return values — everything an agent needs to call it correctly. Nothing material is missing.

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 100% and the schema already documents `text`, `candidates`, and the empty-list error. The description mostly restates this (required args, candidate shape with name/synonyms?/coord?) but does add the conceptual point that the candidate list IS the vocabulary, which is the baseline-3 expectation when the schema does the heavy lifting.

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+resource: match a mention against caller-supplied candidate vocabulary, and contrasts it with the standard place/stop/time/MoT/line linkers. An agent can choose between link_dynamic and link_datetime without opening either 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?

Explicit when-to-use (caller has a custom enum/app-state/domain vocabulary), explicit when-NOT-to-use (standard linking → the specialized `link_*` tools), plus a multi-call rule (one call per mention/vocabulary set) and a chaining note. Nothing is left to inference.

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