Skip to main content
Glama

Refresh metadata

re_enrich
Destructive

Re-fetch metadata from external sources for an item whose data is incomplete. This re-runs the SAME external lookup, so it will return the same result as before: it does NOT fix a wrong match. If the item is the wrong film/show/album entirely, use edit_item with new_external_id to relink it, which is the only thing that changes which entry is fetched.

Input Schema

NameRequiredDescriptionDefault
titleNoThe title to re-enrich (exact title preferred; an ambiguous partial match returns candidates with ids instead of guessing)
item_idNoLibrary item id (UUID), as shown by get_details. When given, title is ignored and the row is addressed exactly.
media_typeYesType of media

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / item_id
      Added value: +{
      +  "description": "Library item id (UUID), as shown by get_details. When given, title is ignored and the row is addressed exactly.",
      +  "type": "string"
      +}
    • changedInput schema / properties / media_type / enum
      Previous value: -[
      -  "book",
      -  "movie",
      -  "album",
      -  "show",
      -  "anime"
      -]New value: +[
      +  "book",
      +  "movie",
      +  "album",
      +  "show",
      +  "anime",
      +  "podcast",
      +  "game",
      +  "manga"
      +]
    • changedInput schema / properties / title / description
      Previous value: -"The title to re-enrich (partial match supported)"New value: +"The title to re-enrich (exact title preferred; an ambiguous partial match returns candidates with ids instead of guessing)"
    • changedInput schema / required
      Previous value: -[
      -  "media_type",
      -  "title"
      -]New value: +[
      +  "media_type"
      +]
  2. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Adds real value beyond annotations: it discloses that the lookup is re-run unchanged and will yield the same result, which prevents a wasted retry loop. However, annotations declare destructiveHint=true and idempotentHint=false, and the description never mentions that a refresh can overwrite existing or already-corrected metadata — the destructive aspect is undisclosed. The 'same result as before' framing also sits awkwardly against idempotentHint=false, though not enough to be a contradiction.

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 what it does, then the caveat, then the redirect. Efficient overall; the last sentence runs long by carrying both the alternative and the rationale.

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?

No output schema and only 3 simple params, so the description carries the semantic burden well, including ambiguous-match behavior and the relink path. The one omission an agent operating under destructiveHint=true would want — what existing data gets overwritten — is 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 100%, so title vs item_id precedence and the candidate-on-ambiguous-match behavior are already fully documented in the schema. The description adds no further parameter meaning, so the baseline of 3 applies.

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 (re-fetch metadata from external sources) plus the exact condition (item data incomplete), and explicitly contrasts itself with edit_item. An agent can separate it from the ~56 siblings 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 when-to-use (incomplete data), an explicit when-not (it does NOT fix a wrong match), and names the correct alternative with the exact tool and parameter (edit_item with new_external_id). This is the strongest kind of routing 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