Skip to main content
Glama

Lookup File

lookup_file
Read-onlyIdempotent

Look up a file by hash (sha256, sha1, or md5). Returns last-analysis stats (malicious / suspicious / harmless / undetected detector counts), type description, size, names seen, and tags. Useful for triaging hashes seen in alerts or logs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hashYesSHA-256 / SHA-1 / MD5 of the file

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesVirusTotal file identifier
tagsYesTags assigned to the file
typeYesResource type (e.g., 'files')
statsYes
vt_urlYesDirect link to VirusTotal file report
reputationYesReputation score from community
raw_attributesYesFull attributes object from VirusTotal API
community_votesYes
last_analyzed_atYesISO 8601 timestamp of last analysis

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "hash": "44d88612fea8a8f36de82e1278abb02f"
      +  },
      +  {
      +    "hash": "9e107d9d372bb6826bd81d3542a419d6043e3a7cbeda4531da5f2d99712df4b9"
      +  }
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "community_votes": {
      +      "properties": {
      +        "harmless": {
      +          "description": "Community votes for harmless",
      +          "type": "integer"
      +        },
      +        "malicious": {
      +          "description": "Community votes for malicious",
      +          "type": "integer"
      +        }
      +      },
      +      "type": [
      +        "object",
      +        "null"
      +      ]
      +    },
      +    "id": {
      +      "description": "VirusTotal file identifier",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "last_analyzed_at": {
      +      "description": "ISO 8601 timestamp of last analysis",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "raw_attributes": {
      +      "description": "Full attributes object from VirusTotal API",
      +      "type": "object"
      +    },
      +    "reputation": {
      +      "description": "Reputation score from community",
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "stats": {
      +      "properties": {
      +        "harmless": {
      +          "description": "Number of engines detecting as harmless",
      +          "type": "integer"
      +        },
      +        "malicious": {
      +          "description": "Number of engines detecting as malicious",
      +          "type": "integer"
      +        },
      +        "malicious_pct": {
      +          "description": "Percentage of engines detecting as malicious",
      +          "type": "number"
      +        },
      +        "suspicious": {
      +          "description": "Number of engines detecting as suspicious",
      +          "type": "integer"
      +        },
      +        "total_engines": {
      +          "description": "Total engines that analyzed the file",
      +          "type": "integer"
      +        },
      +        "undetected": {
      +          "description": "Number of engines with no detection",
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "malicious",
      +        "suspicious",
      +        "harmless",
      +        "undetected",
      +        "total_engines",
      +        "malicious_pct"
      +      ],
      +      "type": "object"
      +    },
      +    "tags": {
      +      "description": "Tags assigned to the file",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "type": {
      +      "description": "Resource type (e.g., 'files')",
      +      "type": "string"
      +    },
      +    "vt_url": {
      +      "description": "Direct link to VirusTotal file report",
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    }
      +  },
      +  "required": [
      +    "type",
      +    "id",
      +    "stats",
      +    "reputation",
      +    "community_votes",
      +    "tags",
      +    "last_analyzed_at",
      +    "raw_attributes",
      +    "vt_url"
      +  ],
      +  "type": "object"
      +}
  2. First observed

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, and destructiveHint, so the safety profile is clear. The description adds value by detailing the return fields (malicious/suspicious counts, type, size, names, tags), which is helpful behavioral context.

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?

The description is concise with three sentences that are front-loaded. Every sentence adds value: purpose, return details, and usage context. No wasted words.

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?

Given the tool's simplicity (1 param, clear annotations, output schema present), the description covers purpose, usage, and output completely. No gaps.

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 parameter 'hash' is already well-described in the schema. The description repeats the hash types but does not add new semantic meaning beyond what the schema provides.

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 clearly states it looks up a file by hash (sha256, sha1, or md5), which is a specific verb and resource. It distinguishes itself from sibling lookup tools for domain, IP, and URL by specifying file hash.

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 description provides a clear use case: 'Useful for triaging hashes seen in alerts or logs.' It does not explicitly mention when not to use it or name alternatives, but the context is sufficient for typical usage.

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.

TDQS

A3.6/5.0
Disambiguation2/5

The set mixes several overlapping families: ask_pipeworx and ask_pipeworx_beta are described as currently identical, while ask_pipeworx_grounded, deep_research, bet_research, and validate_claim all route to the same underlying data sources. Polymarket tools (arbitrage, edges, edge_tracker, fill_risk, spread) also blur together; only the four lookup_* VirusTotal functions are cleanly distinct.

Naming Consistency3/5

Names are uniformly snake_case with a few consistent families (lookup_domain/file/ip/url, ask_pipeworx_*, polymarket_*), which helps. However, the set mixes imperative verbs (remember, forget, subscribe, validate_claim), noun phrases (entity_profile, deep_research, recent_alerts), and inconsistent prefixes, so no single naming convention holds across the server.

Tool Count2/5

35 tools is too many for the apparent purpose, especially for a server named Virustotal. The bulk of the tools address unrelated Pipeworx research, memory, and prediction-market functions, so the count does not reflect the server's advertised domain.

Completeness1/5

For a VirusTotal server, only four lookup tools exist and there is no way to submit a URL/file, create a scan, retrieve analysis details, or explore relationships—core VirusTotal operations are missing. Scoped broadly, the unrelated Pipeworx tools are extensive, but they do not fill the gaps in the advertised domain. The surface is severely incomplete relative to the server name.