Skip to main content
Glama

Re-fetch the source feed and update products

refresh_feed
Idempotent

Pulls fresh XML from the feed's sourceUrl and replaces stored products. Use this after the upstream inventory changed or to recover from a stuck product count. NO-OP if the upstream hash is unchanged. Returns the new product count and whether anything actually changed.

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": {
      "feedId": "<feedId>"
    },
    "name": "refresh_feed"
  }
}

Input Schema

NameRequiredDescriptionDefault
feedIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly=false, idempotent=true, destructive=false, and openWorld=true. The description adds useful behavior beyond that: pulls from sourceUrl, replaces stored products, NO-OPs on unchanged upstream hash, and returns change/count information. It leaves ambiguous whether products missing upstream are deleted, which matters alongside destructiveHint=false, but this is not a direct contradiction.

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?

The description is short and front-loaded: action first, then usage triggers, then NO-OP behavior, then return values. Every sentence adds useful information without redundant wording.

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 one-parameter sync tool with annotations and no output schema, the description covers the action, usage triggers, idempotent NO-OP behavior, and return values. It is still missing explicit feedId semantics and failure/permission context, and does not clarify how upstream product removals are handled.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single required feedId parameter has 0% schema description coverage, and the description never defines it beyond referring to 'the feed' or 'the feed's sourceUrl'. It adds no real meaning about the identifier, so an agent must infer what feedId refers to.

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: pulls fresh XML from the feed's sourceUrl and replaces stored products. It clearly distinguishes the sync/refresh action from read-only siblings such as get_feed and list_products.

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?

Gives explicit triggers: use after upstream inventory changed or to recover from a stuck product count. It does not name alternative tools or state when not to use it, so routing guidance is clear but not complete.

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