Skip to main content
Glama

indexing_get_metadata

Retrieve indexing notification metadata for URLs to check URL_UPDATED and URL_DELETED timestamps from Google Search Console.

Instructions

Get the latest indexing notification metadata for a URL. Returns the latest URL_UPDATED and URL_DELETED notification timestamps.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe fully-qualified URL to check notification status for

Implementation Reference

  • The tool "indexing_get_metadata" is registered and handled directly in src/index.ts. It calls the Indexing API's metadata endpoint.
    server.tool(
      "indexing_get_metadata",
      "Get the latest indexing notification metadata for a URL. Returns the latest URL_UPDATED and URL_DELETED notification timestamps.",
      {
        url: z
          .string()
          .describe("The fully-qualified URL to check notification status for"),
      },
      async ({ url }) => {
        try {
          const result = await apiCall(
            `${INDEXING_BASE}/urlNotifications/metadata?url=${encodeURIComponent(url)}`,
            { method: "GET" },
          );
          return toolResult(result);
        } catch (e) {
          return errorResult(e);
        }
      },
    );

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/mikusnuz/gsc-mcp'

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