Skip to main content
Glama

AdsAgent — Meta Ads MCP

templates_list

Read-only

List saved templates

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "templates_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNo
searchNo
created_afterNo
created_beforeNo
content_updated_afterNo
content_updated_beforeNo

Output Schema

NameRequiredDescriptionDefault
messageNo
retryableNo
support_refNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / connection_context
      Removed value: -{
      -  "pattern": "^mctx_v1_[0-9a-f]{64}$",
      -  "type": "string"
      -}
  2. Changed5 schema fields changed
    • addedInput schema / properties / content_updated_after
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / content_updated_before
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / created_after
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / created_before
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / else / properties / items / items / properties / content_updated_at
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
  3. Changed6 schema fields changed
    • addedOutput schema / then / properties / category
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / then / properties / expected
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / then / properties / failure_kind
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / then / properties / responsibility_hint
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / then / properties / route
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / then / properties / user_visible
      Added value: +{
      +  "type": "boolean"
      +}
  4. Changed1 schema field changed
    • addedInput schema / properties / connection_context
      Added value: +{
      +  "pattern": "^mctx_v1_[0-9a-f]{64}$",
      +  "type": "string"
      +}
  5. Changed1 schema field changed
    • addedOutput schema / else / properties / meta / properties / metric_completeness
      Added value: +{
      +  "additionalProperties": {
      +    "properties": {
      +      "complete": {
      +        "type": "boolean"
      +      },
      +      "excluded_rows": {
      +        "type": "integer"
      +      },
      +      "reason": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "object"
      +}
  6. Changed1 schema field changed
    • addedOutput schema / else / properties / meta / properties / data_freshness / properties / last_pull_scope
      Added value: +{
      +  "const": "workspace"
      +}
  7. First observed

TDQS

D1.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds nothing beyond that: it says nothing about pagination via cursor, whether results default to the account's templates, or how search/date filters interact. With annotations doing the heavy lifting, this is a 2 rather than a 1, but there is no added behavioral context.

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

Conciseness2/5

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

Three words are front-loaded but this is under-specification rather than conciseness. The length is not the problem; the absence of any useful content is.

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

Completeness2/5

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

An output schema exists, so return values need not be explained, but for a seven-parameter listing tool the description omits pagination, filtering, and any usage context. It is not adequate to call the tool correctly without opening the schema.

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

Parameters1/5

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

All seven parameters (limit, cursor, search, and four created/content-updated date bounds) have 0% schema description coverage, and the description mentions none of them. The agent cannot know from the definition that cursor pagination or date-range filtering even exists.

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

Purpose2/5

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

"List saved templates" essentially restates the tool name templates_list. It conveys a verb and a resource, but adds no scope, no notion of what a 'saved' template is, and no differentiation from templates_get, templates_update, or templates_reverse_engineer.

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

Usage Guidelines2/5

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

There is no guidance on when to call this versus templates_get or templates_reverse_engineer, and no mention of prerequisites or typical scenarios. The agent is left to infer everything from the name.

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