Skip to main content
Glama

Get ad

sightglass_get_ad
Read-onlyIdempotent

Fetch one ad in full: copy, creative caption, duplication facts, its destination landing page, and presigned media URLs you can pull into context to look at the creative itself. Returns data only, shown to no one. Once you know the answer, call sightglass_show once with this resultId to show it as cards; it doesn't search again. For multi-step competitor research, call skills with name "replo".

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": {
      "adId": "<adId>"
    },
    "name": "sightglass_get_ad"
  }
}

Input Schema

NameRequiredDescriptionDefault
adIdYes
projectIdNoReplo project id, from list_projects. Its workspace decides which Sightglass fields and history come back. Only tools that say they save something (an asset or a Canvas file) write to this project.
workspaceIdNoReplo workspace id, from list_workspaces. Decides which workspace's Sightglass fields and history come back; required when the user has more than one workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / projectId / description
      Previous value: -"Replo project id, from list_projects: where a saved asset or new file lands. Its workspace's access applies."New value: +"Replo project id, from list_projects. Its workspace decides which Sightglass fields and history come back. Only tools that say they save something (an asset or a Canvas file) write to this project."
    • changedInput schema / properties / workspaceId / description
      Previous value: -"Replo workspace id, from list_workspaces. Sets which workspace's access applies; required when the user has more than one workspace."New value: +"Replo workspace id, from list_workspaces. Decides which workspace's Sightglass fields and history come back; required when the user has more than one workspace."
  2. Changed2 schema fields changed
    • changedInput schema / properties / projectId / description
      Previous value: -"Replo project id, from list_projects: where the charge or the asset lands. Its workspace's plan applies."New value: +"Replo project id, from list_projects: where a saved asset or new file lands. Its workspace's access applies."
    • changedInput schema / properties / workspaceId / description
      Previous value: -"Replo workspace id, from list_workspaces. Sets which workspace's plan applies; required when the user has more than one workspace."New value: +"Replo workspace id, from list_workspaces. Sets which workspace's access applies; required when the user has more than one workspace."
  3. Changed4 schema fields changed
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / properties / adId / pattern
      Removed value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    • removedInput schema / properties / projectId / pattern
      Removed value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    • removedInput schema / properties / workspaceId / pattern
      Removed value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
  4. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  5. 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/non-destructive/closed-world, so the safety profile is covered. The description adds genuinely non-obvious behavior: this is data-only and 'shown to no one' (no UI side effect), it returns presigned media URLs intended to be pulled into context, and it emits a resultId that must be handed to sightglass_show. No auth or rate-limit detail is given, but the display-side-effect warning is the crucial disclosure.

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 purpose and the returned payload, then the display handoff, then the research pointer — a sensible order with little waste. The trailing 'skills with name "replo"' sentence is the weakest link, reading as a generic nudge rather than tool-specific guidance.

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 no output schema, the description correctly takes on the return-value burden by enumerating the payload and flagging presigned media URLs and the resultId handoff. Only minor gaps remain, such as not-found behavior and whether projectId/workspaceId change what is returned (beyond the schema's brief note).

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 67% and the two optional UUIDs (projectId, workspaceId) are already documented in the schema, including the note that only saving tools write to the project. The description adds nothing about adId beyond 'one ad' and does not clarify what happens when the ad is outside the given workspace. Baseline 3 applies since the schema carries the parameter burden.

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 ('Fetch one ad in full') and enumerates exactly what comes back: copy, creative caption, duplication facts, destination landing page, and presigned media URLs. This distinguishes it clearly from sightglass_find_ads (discovery) and sightglass_show (rendering).

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?

Explicitly routes the next step: 'Once you know the answer, call sightglass_show once with this resultId to show it as cards; it doesn't search again,' which prevents a re-query loop. It also points to the 'replo' skill for multi-step competitor research. It stops short of stating when to prefer this over sightglass_get_ad_duplicate or find_ads, so it is not a full when/when-not map.

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.

Resources