Skip to main content
Glama

Read an ad record

get_ad
Read-only

Retrieve an ad record by ID to see each slot’s status, take verdicts, edits, and next recommended takes with clean windows, so you can fill remaining slots without guessing.

Instructions

Free. The ad record: each slot's state (no_take, checking, failed, passed), read from its check_take verdicts only, its checked takes with every verdict, the edits, and next: the edit with each slot's latest take that passed on its longest clean window, and the slots still to fill with takes you judged on take_frames. passed: own footage, or the latest verdict on the take's file passed. The check is optional: render_edit cuts any take and says a verdict in warnings. Mistakes to avoid: guessing windows when next already has them.

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": {
      "ad_id": "<ad_id>"
    },
    "name": "get_ad"
  }
}

Input Schema

NameRequiredDescriptionDefault
ad_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.78.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnly and non-destructive, so the bar is lower, yet the description still adds real context: "Free" (no cost incurred), the fact that slot states are "read from its check_take verdicts only" (no check is triggered), and how `passed` is derived. It does not describe error behavior for a missing or invalid ad_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.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Every clause carries contract information and the record fields are front-loaded after "The ad record:", so there is no filler. However, the prose is a run-on of fragments with tangled nesting around "next" and "passed", which makes it harder to parse than its length warrants.

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 must carry the return-value burden, and it does: it enumerates the record's contents, defines the derived `passed` flag, and explains the `next` projection. Only the ad_id contract and not-found behavior are left unaddressed.

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

Parameters2/5

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

The description never mentions ad_id at all, and schema description coverage is 0%, so the sole required parameter is documented only by its name and the pattern in the schema. For a 1-parameter tool, one clause naming the id would have closed the gap, but the description does nothing to compensate for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The title plus "The ad record:" makes clear this reads an ad record, and the enumeration (slot states, checked takes with verdicts, edits, next) tells the agent what the payload contains. It never distinguishes itself from get_ad_guide, create_ad, or update_ad, so it stops short of the sibling-differentiation needed for a 5.

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?

It gives one useful conditional: "The check is optional: render_edit cuts any take and says a verdict in warnings," implying this tool does not run checks itself. The trailing warning ("guessing windows when next already has them") is a usage hint. But there is no explicit statement of when to call get_ad versus get_ad_guide or update_ad, so guidance is implied rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.