Skip to main content
Glama

AgentAvow Trust

Scan a GitHub repo

scan_repo
Read-onlyIdempotent

Is a public GitHub repo safe for an agent to connect to? Returns Safe to connect, Review before you connect, or Do not connect with the reason, a 0-100 trust score, an adoption score, findings with fixes, and a signed attestation. Read-only; calls agentavow.com. Example: {"repo": "vercel/next.js"}

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": {
      "repo": "<repo>"
    },
    "name": "scan_repo"
  }
}

Input Schema

NameRequiredDescriptionDefault
repoYesRepo as 'owner/name' (e.g. 'vercel/next.js'), or just the name when 'owner' is given separately.
forceNoRe-scan now instead of returning the cached verdict (results cache ~1h). Use after the target has changed.
ownerNoRepo owner (optional if 'repo' is already 'owner/name').

Output Schema

NameRequiredDescriptionDefault
highNoHigh findings, static and sandbox.
tierNoTrust tier for the score (detail, not the headline).
cachedNoServed from the ~1h cache.
signedNoTrue when a signed (Ed25519/JWS) attestation backs this.
targetYesWhat was scanned, as given.
installNoInstall command, only when nothing blocks it.
sandboxNoWhat the behavioral sandbox observed; null if it does not apply.
verdictYesBinary form of the decision, kept for older clients.
adoptionNoThe adoption score: real usage (downloads per week, stars or installs). Never changes the decision.
criticalNoCritical findings, static and sandbox.
decisionYesThe answer to lead with: safe = Safe to connect, review = Review before you connect, do_not_connect = Do not connect.
incidentNoKnown past compromise (context only, never scored).
certifiedNoMatches the signed attestation's certified.eligible.
subscoresNoPer-category 0-100 scores behind the trust score.
deprecatedNoThe maintainer's deprecation notice, or null.
report_urlYesFull report page.
scanned_atNoWhen the scan ran (ISO 8601, UTC).
verify_urlNoHow to verify offline.
not_checkedNoPlain-English notes for what the scan could not read or check (empty when it read everything). Say these alongside the answer.
target_typeYesgithub, npm, pypi, crates, docker, hf, or mcp.
trust_scoreYesTrust score, 0-100. Evidence under the decision.
published_atNoWhen that version was published.
top_findingsNoUp to five most important findings.
coverage_gapsNoMachine form of not_checked: gap kinds (e.g. tool_list_paged, oversized_files) with a flag or count. Empty when nothing was skipped.
certified_markNoCertified and safe: show the Certified mark.
decision_finalYesFalse while the behavioral sandbox is still running; the decision can still change.
findings_totalNoAll findings, every severity.
rescan_pendingNoA fresh scan was started; this is the previous result.
verdict_reasonNoMachine reason for the binary verdict, e.g. clean, clean_partial (clean, but not everything was read), blocking_findings, thin_coverage.
decision_reasonYesOne sentence naming what decided it.
package_versionNoPackage version scanned.
report_json_urlNoThe full verdict as JSON.
static_findings_totalNoFindings from static analysis only.
advisories_affecting_versionNoPublished advisories that affect this version.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / properties / coverage_gaps
      Added value: +{
      +  "description": "Machine form of not_checked: gap kinds (e.g. tool_list_paged, oversized_files) with a flag or count. Empty when nothing was skipped.",
      +  "type": "object"
      +}
    • addedOutput schema / properties / not_checked
      Added value: +{
      +  "description": "Plain-English notes for what the scan could not read or check (empty when it read everything). Say these alongside the answer.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / properties / verdict_reason / description
      Previous value: -"Machine reason for the binary verdict, e.g. clean, blocking_findings, thin_coverage."New value: +"Machine reason for the binary verdict, e.g. clean, clean_partial (clean, but not everything was read), blocking_findings, thin_coverage."
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "adoption": {
      +      "description": "The adoption score: real usage (downloads per week, stars or installs). Never changes the decision.",
      +      "properties": {
      +        "count": {
      +          "type": "integer"
      +        },
      +        "score_0_100": {
      +          "type": "integer"
      +        },
      +        "unit": {
      +          "type": "string"
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "advisories_affecting_version": {
      +      "description": "Published advisories that affect this version.",
      +      "items": {
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "cached": {
      +      "description": "Served from the ~1h cache.",
      +      "type": "boolean"
      +    },
      +    "certified": {
      +      "description": "Matches the signed attestation's certified.eligible.",
      +      "type": "boolean"
      +    },
      +    "certified_mark": {
      +      "description": "Certified and safe: show the Certified mark.",
      +      "type": "boolean"
      +    },
      +    "critical": {
      +      "description": "Critical findings, static and sandbox.",
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "decision": {
      +      "description": "The answer to lead with: safe = Safe to connect, review = Review before you connect, do_not_connect = Do not connect.",
      +      "enum": [
      +        "safe",
      +        "review",
      +        "do_not_connect"
      +      ],
      +      "type": "string"
      +    },
      +    "decision_final": {
      +      "description": "False while the behavioral sandbox is still running; the decision can still change.",
      +      "type": "boolean"
      +    },
      +    "decision_reason": {
      +      "description": "One sentence naming what decided it.",
      +      "type": "string"
      +    },
      +    "deprecated": {
      +      "description": "The maintainer's deprecation notice, or null.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "findings_total": {
      +      "description": "All findings, every severity.",
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "high": {
      +      "description": "High findings, static and sandbox.",
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "incident": {
      +      "description": "Known past compromise (context only, never scored).",
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "install": {
      +      "description": "Install command, only when nothing blocks it.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "package_version": {
      +      "description": "Package version scanned.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "published_at": {
      +      "description": "When that version was published.",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "report_json_url": {
      +      "description": "The full verdict as JSON.",
      +      "type": "string"
      +    },
      +    "report_url": {
      +      "description": "Full report page.",
      +      "type": "string"
      +    },
      +    "rescan_pending": {
      +      "description": "A fresh scan was started; this is the previous result.",
      +      "type": "boolean"
      +    },
      +    "sandbox": {
      +      "description": "What the behavioral sandbox observed; null if it does not apply.",
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "scanned_at": {
      +      "description": "When the scan ran (ISO 8601, UTC).",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "signed": {
      +      "description": "True when a signed (Ed25519/JWS) attestation backs this.",
      +      "type": "boolean"
      +    },
      +    "static_findings_total": {
      +      "description": "Findings from static analysis only.",
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "subscores": {
      +      "additionalProperties": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "description": "Per-category 0-100 scores behind the trust score.",
      +      "type": "object"
      +    },
      +    "target": {
      +      "description": "What was scanned, as given.",
      +      "type": "string"
      +    },
      +    "target_type": {
      +      "description": "github, npm, pypi, crates, docker, hf, or mcp.",
      +      "type": "string"
      +    },
      +    "tier": {
      +      "description": "Trust tier for the score (detail, not the headline).",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "top_findings": {
      +      "description": "Up to five most important findings.",
      +      "items": {
      +        "properties": {
      +          "count": {
      +            "description": "How many times it occurs.",
      +            "type": "integer"
      +          },
      +          "remediation": {
      +            "description": "How to fix it.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "severity": {
      +            "description": "critical, high, medium, or low.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "what": {
      +            "description": "What was found.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "where": {
      +            "description": "File and line, if file-based.",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "trust_score": {
      +      "description": "Trust score, 0-100. Evidence under the decision.",
      +      "maximum": 100,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "verdict": {
      +      "description": "Binary form of the decision, kept for older clients.",
      +      "enum": [
      +        "safe",
      +        "needs_review"
      +      ],
      +      "type": "string"
      +    },
      +    "verdict_reason": {
      +      "description": "Machine reason for the binary verdict, e.g. clean, blocking_findings, thin_coverage.",
      +      "type": "string"
      +    },
      +    "verify_url": {
      +      "description": "How to verify offline.",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "target",
      +    "target_type",
      +    "decision",
      +    "decision_final",
      +    "decision_reason",
      +    "trust_score",
      +    "verdict",
      +    "report_url"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, and open-world behavior, so the bar is lower, and the description still adds real context: it names the three verdicts, the score range, the attestation, and the external call to agentavow.com. It does not mention rate limits or what happens when a repo is private or missing, which would complete the picture.

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?

The question-first opening front-loads the purpose, then output shape, then side effects, then an example — a sensible order with little waste. The output enumeration is list-like and slightly dense, but every clause carries 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?

With only three fully documented parameters and an output schema present, the description supplies everything else an agent needs: purpose, verdict semantics, score range, external dependency, and a usage example. Nothing material for correct invocation 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 schema already explains 'repo', 'owner', and the 'force' cache-bypass. The description adds only a concrete call example, which is helpful but does not extend meaning beyond the schema; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description frames a specific check ('Is a public GitHub repo safe for an agent to connect to?') and enumerates the verdict vocabulary plus the payload (trust score, adoption score, findings, attestation), so the resource is scoped tightly to GitHub repos. It never names a sibling, so the differentiation from scan_package or scan_mcp_server is inferred from the resource rather than stated.

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 question establishes the decision context clearly: run this before an agent connects to a repo. The schema's 'force' note also documents the re-scan condition. However, there is no explicit when-not guidance or pointer to the alternative scanners for non-repo targets.

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