Skip to main content
Glama

alalanet guard — check before you install

Is it safe to open this repository in an agent?

check_repo_config
Read-only

Before opening a GitHub repository you were sent (a take-home task, a review, a demo, a fork): its agent configuration can start MCP servers, run hooks and tasks, widen permissions and plant instructions once opened. Pass repo (owner/repo or a GitHub URL) and optional ref, or files for a local or private checkout. alalanet reads, never runs, what agents and editors load: MCP configs at any depth; Claude, Cursor, VS Code, devcontainer, Gemini, Zed, Codex and Copilot settings, hooks and tasks; .env; package-registry settings; CLAUDE.md, AGENTS.md, GEMINI.md, .cursorrules and the rules, agents, commands and skills folders (every path: https://alalanet.com/skill.md). It finds code that runs when the folder opens (tasks, hooks, skills, MCP servers, inline too), broad permissions (also a skill's own grants, acceptEdits), plugin marketplaces and enabled plugins, credential helpers and shell prefixes, repository MCP servers enabled unasked, the model API, a proxy, the package registry or CODEX_HOME pointed elsewhere, invisible Unicode and bidi controls, injection and concealment phrases, committed secrets (never echoed); each MCP server and hook package goes through install_check. Returns allow / hold / block with reasons per file, findings and the MCP servers' verdicts, signed and logged (kind 4315). What could not be read or checked holds (check_incomplete:). Free, no account: one check plus one per MCP server and per distinct hook package (at most 8 each); cached 10 minutes.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "check_repo_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
refNobranch, tag or commit to read; default: the default branch
repoNothe public GitHub repository: owner/repo or https://github.com/owner/repo (or pass files instead)
filesNoinstead of repo, for a local or private checkout: path -> content of the files this tool reads (at most 40 files, 2 MB in all). alalanet keeps no content; the public record holds only the decision, the files' sha256 and bare reason codes (no paths, no names); the packages named are checked without being signed or logged; remote servers are looked up, never probed; from .env only CODEX_HOME, model-API, proxy and preload variables are read

Output Schema

NameRequiredDescriptionDefault
refYes
repoYes
adviceYes
meaningYes
reasonsYes
decisionYes
findingsYes
tree_shaNo
checked_atYes
commit_shaNo
files_readYes
files_saltNo
attestationNo
mcp_serversYes
files_sha256No

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / files / description
      Previous value: -"instead of repo, for a local or private checkout: the agent configuration files as path from the repository root -> content (only the paths this tool reads, at most 40 files and 2 MB in all). alalanet keeps no content; the public record holds only the decision, the files' sha256 and bare reason codes (no paths, no names); the packages they name are checked without being signed or logged; remote servers are looked up, never probed; from .env only CODEX_HOME, model-API, proxy and preload variables are read"New value: +"instead of repo, for a local or private checkout: path -> content of the files this tool reads (at most 40 files, 2 MB in all). alalanet keeps no content; the public record holds only the decision, the files' sha256 and bare reason codes (no paths, no names); the packages named are checked without being signed or logged; remote servers are looked up, never probed; from .env only CODEX_HOME, model-API, proxy and preload variables are read"
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

The annotations only declare readOnlyHint, openWorldHint and idempotentHint=false, but the description adds substantial behavior beyond them: it reads and never runs content, enumerates the config families it scans, states the allow/hold/block return contract, discloses signing and logging (kind 4315), spells out the free-tier quota (one check plus one per MCP server and per distinct hook package, at most 8 each) and the 10-minute cache. It also explains that unreadable items force a hold via check_incomplete, which is exactly the kind of fail-safe behavior an agent needs to know.

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?

The purpose and the 'before opening' trigger are correctly front-loaded, but the body is a long semicolon-chained enumeration that mixes scanning scope, findings categories, privacy guarantees and quota rules into one dense block. Most clauses carry information, yet the volume is disproportionate to a three-parameter tool and could be grouped more legibly.

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?

Despite an output schema existing, the description still communicates the decision contract (allow/hold/block with per-file reasons), the quota and caching behavior, and the privacy model for file content. For a tool with nested parameters and open-world lookups, nothing an agent needs in order to call it and interpret the result is missing.

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 coverage is 100%, so the repo, ref and files parameters are already documented in the schema, including formats and the 40-file/2 MB limit. The description restates the repo format and the 'or files' alternative but adds little syntax or format meaning beyond the schema, so the baseline of 3 applies.

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 (checking a repository's agent configuration before opening it) and frames the concrete risk it addresses: MCP servers, hooks, tasks, widened permissions and planted instructions. It also distinguishes itself from the sibling install_check by stating that each MCP server and hook package goes through that tool, so an agent can tell the two apart without opening either 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 opening clause gives a clear trigger ('Before opening a GitHub repository you were sent') with concrete scenarios such as take-home tasks, reviews, demos and forks, and it explains the repo-vs-files choice for public versus local/private checkouts. It stops short of explicit when-not-to-use guidance or a direct comparison against siblings like check_service or verify_tools.

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.