Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Google Search Console server: reports, URL inspection, and a few writes (gsc_add_site, gsc_delete_site, gsc_submit_sitemap, gsc_delete_sitemap). gsc_delete_site and gsc_delete_sitemap are destructive — confirm with the user first.

  • If a tool says "not authenticated", call gsc_login once; the user approves in the browser, then check gsc_login_status.

  • siteUrl may usually be omitted (single property) or given loosely ("example.com" matches https://example.com/ or sc-domain:example.com); gsc_list_sites returns the exact values.

  • Data lags ~2 days; recent dates can be partial (dataState "all").

  • For broad SEO pictures: gsc_search_analytics with dimensions ["date"], then ["query"], ["page"], ["device"], ["country"].

  • URL inspection has a daily quota (~2,000/property): gsc_inspect_url for one URL in full detail, gsc_inspect_urls for up to 10 URLs with an issue summary.

  • Page-two opportunities: gsc_search_analytics with minPosition/maxPosition, minImpressions and sortBy (the API itself only orders by clicks).

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
gsc_add_siteA

WRITE: add a property to the logged-in account — a URL prefix (https://www.example.com/) or a domain property (sc-domain:example.com). It stays unverified (no data) until ownership is verified in Search Console; adding an existing property is a no-op.

gsc_delete_siteA

WRITE, DESTRUCTIVE: remove a property from the logged-in account (other owners and the site itself are unaffected; re-adding needs verification again). siteUrl must match gsc_list_sites exactly. Confirm with the user before calling.

gsc_delete_sitemapA

WRITE, DESTRUCTIVE: remove a submitted sitemap from a property's Sitemaps report (the file on the site is untouched; Google may still crawl it). Confirm with the user before calling.

gsc_get_sitemapA

Get details of one submitted sitemap (feedpath) for a property: status, contents and error counts.

gsc_inspect_urlA

URL Inspection: Google-index status of one URL (verdict, coverage state, robots.txt state, canonicals, last crawl, sitemaps) plus AMP / mobile usability / rich results when available. The URL must belong to the given property. Quota is limited (~2,000 queries/property/day) — do not loop it over many URLs.

gsc_inspect_urlsA

URL Inspection for up to 10 URLs of one property in one call, run concurrently. Returns a summary (indexed / not indexed / canonical mismatch / robots.txt block / fetch error / invalid rich results) and one row per URL. Each URL costs one inspection from the ~2,000/property/day quota. Use gsc_inspect_url for the full detail of one URL.

gsc_list_sitemapsA

List sitemaps submitted for a Search Console property with submission dates, indexability and per-content-type submitted/indexed counts. Pass sitemapIndex to list the child sitemaps of one sitemap index.

gsc_list_sitesA

List Search Console properties (URL-prefix like https://www.example.com/ or domain like sc-domain:example.com) with your permission level. The returned exact siteUrl values should be passed to other tools.

gsc_loginA

Authorize access to Google Search Console: opens the browser at Google's OAuth consent page and stores the refresh token locally. Non-blocking: returns immediately while approval is pending — call gsc_login_status afterwards. Required once before any other tool. Scope: webmasters (read, plus adding/removing properties and sitemaps).

gsc_login_statusA

Check whether the Search Console OAuth flow is running/finished and whether a stored token exists. Use right after gsc_login.

gsc_logoutA

Delete the locally stored Search Console OAuth token.

gsc_period_comparisonA

Period-over-period comparison of Search Analytics: runs the same query for the given window and a baseline window — by default the immediately preceding window of equal length, or baselineStartDate/baselineEndDate (e.g. the same window last year) — then reports per-key deltas (current minus baseline: clicks, impressions, CTR, position) sorted by absolute click change. Best with query / page / device / country dimensions — not with date. Dimensions: date, hour, query, page, country (ISO-3166 alpha-3), device (DESKTOP/MOBILE/TABLET), searchAppearance. Search type (type): web (default), image, video, news, discover, googleNews. Aggregation: auto (default), byPage, byProperty. Filter operators: contains, equals (default), notContains, notEquals, includingRegex (RE2), excludingRegex (RE2).

gsc_quick_reportA

Run several Search Analytics cuts in ONE call — the fastest way to a broad SEO picture: daily trend, top queries, top pages, device split, country split, and query→page mapping. Each cut comes back as its own markdown table; a cut the API rejects is reported inline without aborting the others. Use gsc_period_comparison for period-over-period deltas and gsc_inspect_url for index status.

gsc_search_analyticsA

Search Analytics (performance) report: clicks, impressions, CTR and average position grouped by dimensions, for a property and date range. Typical combos: daily trend [dimensions=["date"]], top queries [dimensions=["query"]], top pages [dimensions=["page"]], queries on one page [dimensions=["query"], filters=[{dimension:"page",expression:"...",operator:"equals"}]], device split [dimensions=["device"]], country split [dimensions=["country"]], query×page [dimensions=["query","page"]]. Dimensions: date, hour, query, page, country (ISO-3166 alpha-3), device (DESKTOP/MOBILE/TABLET), searchAppearance. Search type (type): web (default), image, video, news, discover, googleNews. Aggregation: auto (default), byPage, byProperty. Filter operators: contains, equals (default), notContains, notEquals, includingRegex (RE2), excludingRegex (RE2). Data lags ~2 days (dataState "all" includes fresher partial data). Max 25,000 rows per call; paginate with startRow. Results are top-N, sorted by clicks (by date when grouping by date); sortBy/sortOrder re-sort and minImpressions/minPosition/maxPosition filter the returned rows, e.g. page-two opportunities: dimensions ["query","page"], rowLimit 5000, minPosition 11, maxPosition 20, minImpressions 100, sortBy impressions.

gsc_submit_sitemapA

WRITE: submit (or resubmit) a sitemap URL for a property so Google fetches it. Processing is asynchronous — check gsc_get_sitemap later for status and counts.

Prompts

Interactive templates invoked by user choice

NameDescription
gsc_seo_analysisFull SEO analysis from Google Search Console: clicks and impressions trend, top queries and pages, device and country split, sitemap health, and the index status of key pages.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 15 tools

Disambiguation4/5

Most tools target a distinct resource+action (sites, sitemaps, inspection, auth), and the single-vs-batch inspection pair is explicitly cross-referenced. The only soft spot is the analytics trio (gsc_search_analytics, gsc_quick_report, gsc_period_comparison), which all wrap the same Search Analytics API; descriptions do distinguish them (raw cuts, bundled cuts, period deltas), so confusion risk is moderate rather than severe.

Naming Consistency5/5

Every tool follows the same gsc_ prefix plus verb_noun snake_case pattern (gsc_list_sites, gsc_get_sitemap, gsc_submit_sitemap, gsc_inspect_url). Destructive vs write vs read intent is signaled consistently in descriptions, so naming is fully predictable.

Tool Count5/5

15 tools is a well-scoped size for a Search Console server covering three API surfaces plus auth. Each tool maps to a real API operation or a justified convenience wrapper (gsc_quick_report, gsc_inspect_urls).

Completeness4/5

CRUD coverage is solid: sites (add/list/delete), sitemaps (list/get/submit/delete), analytics (standard, comparison, quick), inspection (single and batch), and auth lifecycle (login/status/logout). Minor gaps remain: no way to update a site's permission level, and no direct sitemap-index management beyond listing children.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues