Skip to main content
Glama
alberthild

ShieldAPI MCP

shieldapi.check_url

Check URLs for malware, phishing, and security threats using URLhaus database and heuristic analysis to identify potentially dangerous links.

Instructions

Check a URL for malware, phishing, and other threats. Uses URLhaus + heuristic analysis.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe URL to check (e.g. https://example.com)

Implementation Reference

  • The handler for 'shieldapi.check_url' is dynamically registered in a loop that iterates over the `TOOLS` object. The handler invokes `callShieldApi` with the 'check-url' endpoint.
    for (const [name, def] of Object.entries(TOOLS)) {
      server.tool(
        name,
        def.description,
        { [def.param]: z.string().describe(def.paramDesc) },
        { ...readOnlyAnnotations, title: TOOL_TITLES[name] || name },
        async (params) => formatResult(await callShieldApi(def.endpoint, params as Record<string, string>))
      );
  • src/index.ts:32-37 (registration)
    Definition of the 'shieldapi.check_url' tool configuration.
    'shieldapi.check_url': {
      description: 'Check a URL for malware, phishing, and other threats. Uses URLhaus + heuristic analysis.',
      param: 'url',
      paramDesc: 'The URL to check (e.g. https://example.com)',
      endpoint: 'check-url',
    },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/alberthild/shield-api-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server