Skip to main content
Glama

Get advertiser page

get_page
Read-onlyIdempotent

Get an advertiser's profile: name, category, likes, Instagram account and followers, verification, and an estimate of how many ads it is running now.

    Cost: 1 credit.

    Args:
        page_id: Numeric advertiser page ID (from search_ads results or search_pages).
    

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": {
      "page_id": "<page_id>"
    },
    "name": "get_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
page_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds information annotations cannot express: a concrete cost of 1 credit, which matters for an agent budgeting calls. It does not discuss failure modes for an invalid or stale page_id, which keeps it from a 5.

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?

Front-loaded with the identity and contents of the resource, then cost, then the parameter note. Some redundancy exists because the field enumeration overlaps with the output schema, and the docstring-style "Args:" block is a formatting artifact, but every line carries information given the zero schema coverage.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, the description need not explain return shape, and it still names the highlights. Cost and parameter provenance are the two gaps a definition most often leaves, and both are covered here. Only edge behavior (invalid ID, freshness of the ad estimate) is unaddressed, a minor omission for a single-parameter read tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry the meaning, and it does: it declares the value is a numeric advertiser page ID and names the two tools whose results supply it. One minor friction is that the schema types page_id as a string while the description calls it numeric, which an agent must reconcile, but the provenance guidance is genuinely additive.

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?

States a specific verb and resource ("Get an advertiser's profile") and then enumerates exactly what the profile contains: name, category, likes, Instagram account and followers, verification, and current ad estimate. That field list implicitly separates it from siblings like get_page_ads (which returns ads, not the profile) and get_ad, so an agent can route without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the page_id provenance note ("from search_ads results or search_pages") hints that this is a follow-up call after a search, but the description never says when to prefer it over get_page_ads or search_pages, nor when not to call it. The chaining hint is useful but not explicit selection guidance.

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.