Skip to main content
Glama

Get tag

archivebox_get_tag
Read-onlyIdempotent

Retrieve a single ArchiveBox tag by ID or slug, optionally including its associated snapshots, to inspect tag details and linked archived items.

Instructions

GET /api/v1/core/tag/{tag_id}

Read one tag by id or slug, optionally with its snapshots.

Args: tag_id: Tag id or slug. with_snapshots: Embed the tag's snapshots.

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": {
      "tag_id": "<tag_id>"
    },
    "name": "archivebox_get_tag"
  }
}

Input Schema

NameRequiredDescriptionDefault
tag_idYes
with_snapshotsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.5.1

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description adds only the payload-shaping detail that snapshots can be embedded or omitted. It says nothing about what happens on an unknown id/slug or how large the embedded snapshot list can get.

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?

Front-loaded with the one-line purpose, then a short Args block with no filler. The leading raw endpoint string 'GET /api/v1/core/tag/{tag_id}' is somewhat redundant for an MCP caller but is not harmful and is kept to a single line.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter read tool with no output schema, the definition covers inputs adequately but leaves the return value underspecified beyond 'embed the tag's snapshots' — an agent cannot tell what fields a tag object has or whether the snapshot embedding is nested or flattened.

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

Parameters4/5

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

Schema description coverage is 0%, so the description carries the full burden, and it does: 'tag_id: Tag id or slug' reveals that either identifier form is accepted, and 'with_snapshots: Embed the tag's snapshots' explains what the flag actually changes in the response rather than just restating its name.

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 specific verb and resource with scope: 'Read one tag by id or slug, optionally with its snapshots.' This distinguishes it from the plural archivebox_get_tags and from the snapshot-oriented siblings, though it never names those alternatives explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use or when-not-to-use guidance. An agent must infer that this is the single-record counterpart to archivebox_get_tags / archivebox_search_tags and the alternative to archivebox_get_tag_snapshots_jsonl from the mention of 'optionally with its snapshots' alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.