Skip to main content
Glama

verify_existence

Read-onlyIdempotent

CRITICAL ANTI-HALLUCINATION SHIELD: Always call this tool BEFORE outputting any URL, GitHub repository, NPM package, or Python library to the user. It verifies in real-time if they actually exist so you never give broken links or fake packages. Requires Authorization: Bearer <agent_token>.

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": {
      "items": "<items>"
    },
    "name": "verify_existence"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, openWorldHint, and idempotentHint, but the description adds context annotations cannot express: verification happens in real time against live registries, and the call requires an Authorization bearer token. It omits error behavior, whether results are cached, and rate limits.

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 the calling trigger and no wasted clauses. The all-caps 'CRITICAL ANTI-HALLUCINATION SHIELD' framing is promotional noise that adds no operational information, slightly undercutting an otherwise tight definition.

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?

With no output schema, the description should indicate what comes back so the agent knows how to act on results (per-item existence flags? suggested corrections?), and it does not. The auth requirement is covered, but the batch limit and response shape remain gaps for a tool the agent is told to invoke before every external reference.

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 0%, so the description must carry parameter meaning. It loosely mirrors the four target types, but never explains that `items` is a batch array capped at 10 entries, nor what format `target` should take for each type (full URL vs. owner/repo vs. package name).

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 (verify) and an enumerated resource set (URL, GitHub repository, NPM package, Python library) that maps directly onto the schema's enum values. No sibling tool performs existence checks, so the agent can distinguish this without opening another schema.

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 an unusually explicit trigger: call it before emitting any URL, repo, or package to the user. It does not state when the tool is unnecessary (e.g., for resources already verified this session) or name any alternative path, so it falls short of the full when/when-not/alternative bar.

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