Skip to main content
Glama

Check a tool before installing it

check_before_install
Read-onlyIdempotent

Evidence summary for an MCP server before you install or connect it: publisher identity level, provenance, known vulnerabilities, install scripts, maintenance, open warnings, checks that could not run, and recent changes. Pass installed (the servers already in use) to also get tool names this server shares with them, which an AI could call by mistake. No warnings is NOT a safety guarantee.

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": {
      "identifier": "<identifier>"
    },
    "name": "check_before_install"
  }
}

Input Schema

NameRequiredDescriptionDefault
installedNoOptional: names of MCP servers already installed, to check for tool-name clashes (first 20 used)
identifierYesMCP server name (e.g. io.github.github/github-mcp-server), catalog id, or GitHub repository URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / installed
      Added value: +{
      +  "description": "Optional: names of MCP servers already installed, to check for tool-name clashes (first 20 used)",
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 20,
      +  "type": "array"
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds substantive context on top: it discloses that some checks 'could not run' (partial-result honesty) and warns that 'No warnings is NOT a safety guarantee,' which pre-empts a dangerous misreading of an empty result. That is exactly the kind of limitation an agent cannot infer from structured fields.

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?

Two sentences, front-loaded with purpose and ending on the safety caveat, which is a strong placement. The first sentence is a long comma-separated enumeration that is information-dense but borders on a run-on; it earns its length by defining the payload.

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

Completeness5/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 carries the burden of describing return content and does so by enumerating the evidence categories, including failed checks. Combined with the caveat about warnings not implying safety, an agent has enough to call it correctly and interpret the result.

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 coverage is 100%, so the baseline is 3, but the description adds real meaning: it explains that 'installed' takes servers already in use and that the payoff is discovering shared tool names 'which an AI could call by mistake' — a concrete rationale the schema only gestures at with 'tool-name clashes.' The identifier parameter is left to the schema, which is fine given its example.

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?

The description names a specific verb and resource ('Evidence summary for an MCP server') and enumerates exactly what the summary contains: publisher identity level, provenance, vulnerabilities, install scripts, maintenance, warnings, failed checks, recent changes. That enumeration distinguishes it from the granular siblings (get_publisher, get_evidence, get_changes) by making clear this is the composite pre-install view.

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?

Timing is explicit: 'before you install or connect it,' plus a clear conditional ('Pass installed ... to also get tool names this server shares with them'). It does not mention when to reach for a sibling instead (e.g., get_evidence for deeper drill-down), so it stops short of full when-not 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