Skip to main content
Glama

Keyword action plan

get_keyword_action_plan
Read-only

Deep context for one tracked keyword: ranking URL, history, SERP features, competitors, and a checklist. When a page ranks, it is read the way crawlers do and pageFindings lists what holds it back for this keyword, each with a ready-to-paste fixPrompt. Use after a briefing when an agent can edit the page. Confirm with the user before changing the site.

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": {
      "keywordId": "<keywordId>"
    },
    "name": "get_keyword_action_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
keywordIdYes

Output Schema

NameRequiredDescriptionDefault
deviceYes
intentYes
historyYes
keywordYes
positionYes
checklistYes
projectIdYes
difficultyYes
rankingUrlYes
competitorsYes
projectNameYes
bestPositionYes
pageFindingsYes
searchVolumeYes
serpFeaturesYes
searchConsoleYes
aiOverviewCitedYes
previousPositionYes
aiOverviewPresentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / pageFindings
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "code": {
      +        "enum": [
      +          "unreachable",
      +          "check_blocked",
      +          "noindex",
      +          "blocked_by_robots",
      +          "empty_without_js",
      +          "thin_content",
      +          "missing_title",
      +          "title_too_long",
      +          "missing_meta_description",
      +          "missing_h1",
      +          "multiple_h1",
      +          "missing_canonical",
      +          "canonical_elsewhere",
      +          "no_structured_data",
      +          "no_sitemap",
      +          "ai_crawlers_blocked",
      +          "no_llms_txt",
      +          "keyword_not_in_title",
      +          "keyword_not_in_h1"
      +        ],
      +        "type": "string"
      +      },
      +      "detail": {
      +        "type": "string"
      +      },
      +      "fixPrompt": {
      +        "type": "string"
      +      },
      +      "severity": {
      +        "enum": [
      +          "blocker",
      +          "fix",
      +          "idea"
      +        ],
      +        "type": "string"
      +      },
      +      "title": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "code",
      +      "severity",
      +      "title",
      +      "detail",
      +      "fixPrompt"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "keyword",
      -  "projectId",
      -  "projectName",
      -  "position",
      -  "previousPosition",
      -  "bestPosition",
      -  "rankingUrl",
      -  "searchVolume",
      -  "difficulty",
      -  "intent",
      -  "device",
      -  "serpFeatures",
      -  "aiOverviewPresent",
      -  "aiOverviewCited",
      -  "history",
      -  "competitors",
      -  "checklist",
      -  "searchConsole"
      -]New value: +[
      +  "keyword",
      +  "projectId",
      +  "projectName",
      +  "position",
      +  "previousPosition",
      +  "bestPosition",
      +  "rankingUrl",
      +  "searchVolume",
      +  "difficulty",
      +  "intent",
      +  "device",
      +  "serpFeatures",
      +  "aiOverviewPresent",
      +  "aiOverviewCited",
      +  "history",
      +  "competitors",
      +  "checklist",
      +  "pageFindings",
      +  "searchConsole"
      +]
  2. Changed2 schema fields changed
    • addedOutput schema / properties / searchConsole
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "averagePosition": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "clicks": {
      +          "type": "number"
      +        },
      +        "ctr": {
      +          "type": "number"
      +        },
      +        "impressions": {
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "clicks",
      +        "impressions",
      +        "ctr",
      +        "averagePosition"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "keyword",
      -  "projectId",
      -  "projectName",
      -  "position",
      -  "previousPosition",
      -  "bestPosition",
      -  "rankingUrl",
      -  "searchVolume",
      -  "difficulty",
      -  "intent",
      -  "device",
      -  "serpFeatures",
      -  "aiOverviewPresent",
      -  "aiOverviewCited",
      -  "history",
      -  "competitors",
      -  "checklist"
      -]New value: +[
      +  "keyword",
      +  "projectId",
      +  "projectName",
      +  "position",
      +  "previousPosition",
      +  "bestPosition",
      +  "rankingUrl",
      +  "searchVolume",
      +  "difficulty",
      +  "intent",
      +  "device",
      +  "serpFeatures",
      +  "aiOverviewPresent",
      +  "aiOverviewCited",
      +  "history",
      +  "competitors",
      +  "checklist",
      +  "searchConsole"
      +]
  3. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description adds real context beyond that: the page is fetched and parsed as crawlers see it, and pageFindings pairs each blocker with a ready-to-paste fixPrompt. It does not discuss cost, latency, or what happens when the keyword has no ranking page.

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?

Three tight sentences, front-loaded with the payload inventory before the usage rule and the safety caveat. No filler, though the closing confirmation sentence is slightly tangential to a read-only tool.

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?

An output schema exists, so return values need not be spelled out, and the description still previews the key fields. For a one-parameter read tool this is close to complete; only the untracked-keyword edge case and ID sourcing are unaddressed.

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 0%, but the single parameter is a UUID keywordId whose meaning is largely self-evident. The phrase 'one tracked keyword' usefully implies the ID must come from an already-tracked keyword, yet the description never says how to obtain it or what happens with an untracked ID.

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 a specific resource ('one tracked keyword') and enumerates the payload: ranking URL, history, SERP features, competitors, checklist, plus pageFindings with fixPrompt. That content profile distinguishes it from siblings like get_seo_briefing or check_page without naming them. It stops short of an explicit sibling contrast, so not 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 Guidelines4/5

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

Gives a clear sequencing rule ('Use after a briefing when an agent can edit the page') and a safety precondition ('Confirm with the user before changing the site'). It does not name an alternative tool or state when not to use it, which keeps it below 5.

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