Skip to main content
Glama

AgentDiet Coding Agent GitHub Repo, Dependency & License Security Auditor

audit_github_repository

Read-onlyIdempotent

Evaluates any GitHub repository for license risk, maintenance velocity, stars/forks, and supply-chain security before code execution. WHEN TO USE: Call audit_github_repository when your task requires deterministic github-audit analysis for repo; use get_agent_wallet_status to check your remaining free trial quota or prepaid balance. WHEN NOT TO USE: Do not use for unrelated domains or binary media. PARAMETER INTERACTIONS: Pass the target repo as a non-empty string; omit agent_id and tx_hash during your 5 free trial calls, or supply agent_id (agd_pass_...) / tx_hash for paid execution. Read-only and idempotent; results are cached for 1 hour (<5ms cache hit). $0.01 per call. Pricing: the first 5 calls per agent_id are free and failed calls are never charged. After 5 calls, the tool returns a payment-required quote (not a fatal error) with a $2 Stripe top-up link and Base/Solana USDC addresses; complete payment, then retry with your agd_pass_ key in agent_id or pass tx_hash. Example: audit_github_repository(repo='example')

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoYesGitHub repository in owner/name format (e.g. modelcontextprotocol/servers or langchain-ai/langgraph).
tx_hashNoOptional on-chain Base Mainnet (0x...) or Solana SPL USDC transaction hash. Omit unless settling an individual call directly on-chain instead of using an agd_pass_ key in agent_id.
agent_idNoOptional agent identifier or prepaid agd_pass_ session key. Omit during your 5 free trial calls to use an ID automatically derived from your client IP, or pass your agd_pass_ key after topping up.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoStructured tool output payload.
statusYesExecution status ('ok' or 'payment_required').
roi_proofNoToken compression and cost-savings verification metrics.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description goes well beyond that by disclosing 1-hour result caching with <5ms cache hits, per-call pricing, 5 free calls per agent_id, that failed calls are never charged, and that quota exhaustion returns a payment quote rather than a fatal error.

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 is front-loaded and the WHEN TO USE / WHEN NOT TO USE structure is helpful, but the economics are stated redundantly: '$0.01 per call', 'first 5 calls free', and the free-trial/payment flow appear in the usage section and again in a separate pricing paragraph with the $2 Stripe link and USDC addresses. That redundancy inflates length without new 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?

An output schema exists, so return-value explanation is unnecessary. Given a 3-parameter tool with full schema coverage and rich annotations, the description covers everything an agent needs: scope, exclusions, caching behavior, and the complete payment/retry path including the example invocation.

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 100% and each parameter (repo, agent_id, tx_hash) is already documented in the schema, including the owner/name format and the agd_pass_ key pattern. The description's PARAMETER INTERACTIONS section largely restates this (non-empty repo, omit agent_id/tx_hash during trial), adding only marginal emphasis. Baseline 3 applies when the schema does the heavy lifting.

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 (evaluates) and resource (GitHub repository) plus the exact dimensions analyzed: license risk, maintenance velocity, stars/forks, supply-chain security. It is immediately distinguishable from the only sibling, get_agent_wallet_status, which handles quota/balance rather than repo analysis.

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

Usage Guidelines5/5

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

Explicit WHEN TO USE and WHEN NOT TO USE sections name the condition (deterministic github-audit for a repo), the excluded case (unrelated domains, binary media), and the alternative tool for checking trial quota or balance. Nothing is left to inference.

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