Skip to main content
Glama
kit-trafego-ia

kit-trafego-ia

by MatheusSBPRO

Conferir uma campanha que subiu

conferir_campanha
Read-onlyIdempotent

Audits a Meta campaign and its ad sets/ads to flag missing location targeting, URL tags, Instagram profile, and review issues.

Instructions

Lê a campanha, os conjuntos e os anúncios e aponta o que está errado: conjunto sem location_types, anúncio sem url_tags ou sem perfil do Instagram, problema de revisão. Só leitura. Precisa de META_TOKEN.

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": {
      "campanha_id": "<campanha_id>"
    },
    "name": "conferir_campanha"
  }
}

Input Schema

NameRequiredDescriptionDefault
campanha_idYesId numérico da campanha.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is low, yet the description adds real value: it names the exact validations performed and flags a hard auth prerequisite (META_TOKEN), which is not in the schema or annotations. It does not describe pagination or how findings are surfaced, but for a single-campaign audit that is minor.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

Two short sentences, front-loaded with what is read and what is reported, followed by the two operational constraints (read-only, token requirement). No redundant restatement of the title and nothing that could be cut without losing meaning.

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?

For a 1-parameter, read-only tool with no output schema, the description supplies the audit scope, the specific checks, and the auth requirement an agent needs before calling. Only the shape of the returned findings is left unspecified.

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?

There is one parameter with 100% schema description coverage ('Id numérico da campanha'), so the schema already carries the semantics. The description only implies the id identifies the campaign to be inspected and adds no format or sourcing detail beyond that, matching the baseline 3.

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?

States specific verbs (lê, aponta o que está errado) and a specific resource scope: campanha, conjuntos e anúncios. The enumeration of concrete failure conditions (sem location_types, sem url_tags, sem perfil do Instagram, problema de revisão) makes the purpose unmistakable and differentiates it from 'checar_criativo' in practice, though no sibling is named explicitly.

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?

The title's 'que subiu' plus the error-oriented framing imply this is a post-launch audit tool, but the description never states when to use it versus 'checar_criativo' or 'simular_campanha'. Usage is inferable rather than stated.

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