Skip to main content
Glama

Lekta — AEO/GEO Audit for AI Answer Engines

Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Lekta: AI readability audit. If you published it, claim ownership there.

Ordered path to A+ for an audited page

lekta_fix_plan
Read-onlyIdempotent

Turns the most recent STORED audit of a URL into an ordered remediation plan: every failing or warned check as a numbered step, biggest point recovery first, each with its severity, the points that fixing it is expected to regain, and the full fix text. Reads storage only and never fetches, so the plan is exactly as fresh as the last audit of that URL, and any audit of it counts, whether it was started over MCP or from the lekta.dev panel. USE THIS between lekta_audit and the code change, to decide what to fix and in what order, or to hand a developer or another agent a prioritised AEO/GEO work list. It keeps working when the daily fresh-audit quota is exhausted. DO NOT use it to measure or re-measure a page (lekta_audit does that), and do not call it for a URL that was never audited: it returns an error telling you to run lekta_audit first, not an empty plan. For what changed between two runs use lekta_diff; for the raw structured data use lekta_report. COST AND BEHAVIOUR: free and idempotent: no fetch, no quota, no rate limit; it never starts an audit under any circumstance, and repeat calls return the same plan until a newer audit lands. When the stored audit came from an older engine version the output says so and marks the point estimates unreliable. When it has no failing or warned checks, the tool reports that instead of inventing work.

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": {
      "url": "<url>"
    },
    "name": "lekta_fix_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesRequired. An absolute http(s) URL that already has a stored audit, e.g. "https://example.com/pricing". Normalised like the lekta_audit url (https assumed when the scheme is missing, #fragment dropped, hostname lower-cased, query string significant). History is keyed on the URL that was PASSED to lekta_audit, never the final URL after a redirect, so if the audit reported a redirect, still pass the address you originally sent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / url / description
      Previous value: -"Required. An absolute http(s) URL that already has a stored audit, e.g. \"https://example.com/pricing\". Normalised like the lekta_audit url (https assumed when the scheme is missing, #fragment dropped, hostname lower-cased, query string significant). History is keyed on the URL that was PASSED to lekta_audit, never the final URL after a redirect — so if the audit reported a redirect, still pass the address you originally sent."New value: +"Required. An absolute http(s) URL that already has a stored audit, e.g. \"https://example.com/pricing\". Normalised like the lekta_audit url (https assumed when the scheme is missing, #fragment dropped, hostname lower-cased, query string significant). History is keyed on the URL that was PASSED to lekta_audit, never the final URL after a redirect, so if the audit reported a redirect, still pass the address you originally sent."
  2. Changed1 schema field changed
    • changedInput schema / properties / url / description
      Previous value: -"Absolute http(s) URL that was audited before"New value: +"Required. An absolute http(s) URL that already has a stored audit, e.g. \"https://example.com/pricing\". Normalised like the lekta_audit url (https assumed when the scheme is missing, #fragment dropped, hostname lower-cased, query string significant). History is keyed on the URL that was PASSED to lekta_audit, never the final URL after a redirect — so if the audit reported a redirect, still pass the address you originally sent."
  3. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already cover read-only, idempotency, and non-destructiveness, but the description still adds substantial non-obvious behaviour: storage-only, no fetch, no quota consumption, no rate limit, never starts an audit, identical plan on repeat calls, and a calibration warning when the stored audit came from an older engine version. It also discloses error behaviour for unaudited URLs and the empty-work case, which no annotation conveys.

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?

Well front-loaded: the core transformation comes first, then labelled USE THIS / DO NOT / COST AND BEHAVIOUR blocks that scan quickly. Minor redundancy between 'reads storage only and never fetches' and the later 'it never starts an audit under any circumstance', but the repetition guards the most costly misunderstanding.

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?

There is no output schema, so the description carries the return contract: numbered steps ordered by recoverable points, each with severity, expected point regain, and full fix text, plus the degraded-confidence signal and the no-findings case. Combined with the error path and cost profile, an agent has everything needed to call it and interpret the result.

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

Parameters5/5

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

Schema coverage is 100% and the single url parameter is documented thoroughly in the schema itself (normalisation, fragment/query handling, redirect-origin keying). The description adds only the freshness implication tied to that URL rather than restating the parameter contract, which is the right division of labour. With one fully described required parameter, the description does not need to say more.

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 and resource: turns the most recent STORED audit of a URL into an ordered remediation plan, with the ordering rule (biggest point recovery first) spelled out. It explicitly separates itself from lekta_audit (measurement), lekta_diff (change tracking), and lekta_report (raw data), so an agent can pick it without opening other schemas.

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?

Gives an explicit trigger window (between lekta_audit and the code change), a purpose (decide what to fix and in what order, or hand off a prioritised work list), and hard exclusions (do not use to measure or re-measure; do not call for a never-audited URL). It also names the correct substitutes for the adjacent needs, so routing is unambiguous.

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