Skip to main content
Glama

Get Actions

get_actions
Read-onlyIdempotent

List recommended actions for a brand from Trakkr's unified queue.

This is the canonical "what should the brand do" surface. Every signal in Trakkr (site audit, crawler, prompt monitoring, citations, competitors, traffic, reddit, diagnose) flows into one prioritised queue.

Returns per action: title, description, detail, first_step, category, action_type, effort, impact, priority_score, priority_level, status, source, affected_models, affected_query_count, action_data (the raw supporting evidence, shape varies by action_type), and a deep_link into the app. Plus, when the action has them: family (the verb family: fix | refresh | create | earn | discuss | optimize | setup | play), page_id and page_url (the page the work is on), and result (the measured before/after outcome: verdict, summary, primary_metric, window_days, measured_at, rolled_back). result is null until the measurement window closes; get_results lists measured results on their own.

Common recipes:

  • AI-search technical audit: get_actions(brand_id, source="site_audit,crawler_monitoring", category="technical")

  • Crawler analyst view: get_actions(brand_id, lens="crawler")

  • Quick wins: get_actions(brand_id, quick_win=True)

  • Diagnose follow-ups: get_actions(brand_id, source="diagnose")

Args: brand_id: The brand (required). status: 'open' (default; pending+in_progress+snoozed), 'active' (adds completed), or a literal status. category: Comma-separated. content | technical | competitive | optimization | citation | setup | reddit | diagnose. source: site_audit | crawler_monitoring | prompt_monitoring | citation_monitoring | diagnose | competitor_tracking | content_ideas | traffic_analytics | reddit | setup | manual | ai_synthesizer. action_type: Filter to one canonical action_type, e.g. 'add_llms_txt', 'add_schema_markup', 'unblock_ai_crawlers', 'fix_rendering_for_crawlers', 'create_content_for_gap'. lens: Product-lens shortcut (e.g. 'crawler' = crawler-tab view). quick_win: If true, only high-impact / low-effort actions. search: Text search across title, description, source, action_type. url: Filter to actions scoped to this URL or path. sort_by: priority_score | created_at | updated_at. sort_dir: asc or desc. limit: 1-200. Default 50. offset: Pagination offset.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNo
lensNo
limitNo
offsetNo
searchNo
sourceNo
statusNoopen
sort_byNopriority_score
brand_idYes
categoryNo
sort_dirNodesc
quick_winNo
action_typeNo
user_intentNoAnalytics hint: the user's latest request in one short sentence. Omit secrets and prior chat.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations cover safety (readOnly, idempotent, non-destructive) so the bar is lower, yet the description adds substantial behavior: the exact return shape including nested action_data, family, page scope, and the fact that result is null until the measurement window closes. This is exactly the context an agent needs to interpret and continue after the call.

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 purpose and canonical-surface claim, then structured into recipes and an Args list. It is long, but the length is earned by the 14-param surface and the enumeration of return fields; the return-field sentence is dense but useful.

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

Completeness5/5

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

No output schema exists, so the description must describe returns, and it does thoroughly (field list, null-result timing, deep_link, evidence shape). Combined with the recipes and full parameter coverage, an agent has everything needed to call and interpret it.

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?

With only 7% schema description coverage, the description carries nearly the full burden and mostly succeeds: it explains status semantics (open = pending+in_progress+snoozed), all category/source/action_type values, lens, quick_win, search scope, and sort options with defaults. The only gap is user_intent, which appears in the schema but is not addressed in the description.

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+resource ('List recommended actions for a brand') and positions it as the canonical 'what should the brand do' surface that unifies all Trakkr signals. This clearly distinguishes it from siblings like get_action_stats, get_results, and manage_action.

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

Usage Guidelines5/5

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

Explicitly says when to use it (canonical queue surface) and provides four concrete recipes showing filter combinations for distinct workflows. It also names get_results as the alternative for measured results, and all signals that feed the queue.

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