Skip to main content
Glama

check_repo

Read-onlyIdempotent

Statically inspect an MCP server repository for shipping readiness—license, README, tests, annotations, packaging, secrets, and Glama build spec—without running code; returns score, grade, and fixes.

Instructions

Statically check an MCP server repository for shipping readiness (license, README, tests, annotations, packaging, secrets, Glama build spec). Reads files only and never runs the repository's code. Returns score, grade and results with fixes.

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": {
      "path": "<path>"
    },
    "name": "check_repo"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesPath to the repository directory (the folder with pyproject.toml or package.json).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world, so the safety profile is covered. The description nonetheless adds real value by reinforcing that it reads files only and never executes repository code, and by disclosing the return shape (score, grade, results with fixes) that no output schema provides.

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?

Three tight sentences: purpose plus checklist first, the read-only guarantee second, the return contract last. Nothing is redundant and each sentence carries distinct information.

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?

For a multi-category audit tool, the definition covers what is inspected, the execution model, and what comes back. With annotations handling safety and the return summary handled inline, an agent has everything needed to call it correctly.

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 the schema already documents it at 100% coverage, including the hint about pyproject.toml or package.json. The description adds no further meaning about the path argument, so this sits at the baseline for fully-covered schemas.

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 ('statically check') and resource ('an MCP server repository') and enumerates the exact dimensions examined: license, README, tests, annotations, packaging, secrets, Glama build spec. The 'statically / reads files only, never runs code' framing implicitly separates it from a live-check sibling, so an agent can tell what class of tool this is without opening the 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?

The phrase 'shipping readiness' establishes the context in which to reach for this tool, and the static-only constraint clarifies the situation it fits (pre-publication audit of a repo on disk). It does not explicitly name when to prefer check_live or list_checks instead, so the routing is inferred rather than stated.

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

Deploy Server

Other Tools