Skip to main content
Glama

Fetch a fetched glossary now

fetch_glossary
Destructive

Fetch now: read a fetched glossary’s source again — a repository one’s file at its branch’s head (its pending branch and path, if it has them), a Notion one’s data source — in the background, replacing its entries once the fetch succeeds (a failed one keeps them). Read fetched.status back until it is no longer fetching or first_fetch. A repository one that needs reconnect (no installation could see its repository) recovers by the fetch that finds one. A Notion one needs the source_checks Feature grant and a connected connection. When referring to a project or language in your reply to the user, use its name and locale (e.g. "French (fr-FR)") — ids (UUIDs) are for tool calls only, never show them to the user.

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": {
      "glossaryId": "<glossaryId>"
    },
    "name": "fetch_glossary"
  }
}

Input Schema

NameRequiredDescriptionDefault
glossaryIdYesFrom list_glossaries

Output Schema

NameRequiredDescriptionDefault
glossaryYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: the fetch runs in the background, replaces the glossary's entries on success and preserves them on failure, and a repository glossary stuck needing reconnect recovers when the fetch finds an installation. This turns the abstract destructiveHint=true into a concrete statement of what is replaced and when.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the action, but the sentences are heavily nested and hard to parse ('a repository one's file at its branch's head (its pending branch and path, if it has them)'). The trailing instruction about showing project/language names instead of UUIDs is useful but unrelated to this tool and dilutes focus.

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?

Covers the async lifecycle, terminal states to poll for, failure semantics, and auth prerequisites, which is most of what an agent needs for a destructive open-world refresh; an output schema exists so return values need not be explained. Minor gap: no guidance on how long to poll or what to do if status stalls.

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?

There is a single parameter and schema coverage is 100%, with the schema already saying 'From list_glossaries'. The description adds no further meaning about the id (e.g. format, or what happens when it names an unfetched glossary), so it neither helps nor hurts.

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?

States a concrete verb and resource: re-read a fetched glossary's source (repo file at branch head, or Notion data source) in the background. This is clearly distinguished from list_glossaries and entry-level tools. The phrasing is convoluted ('Fetch now: read a fetched glossary's source again'), which keeps it from a 5.

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 the operating loop explicitly: read `fetched.status` until it is no longer `fetching` or `first_fetch`, and lists prerequisites (source_checks grant plus a connected connection for Notion; repository installation visibility). It does not name an alternative tool or say when *not* to re-fetch, but no close sibling exists.

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.