Skip to main content
Glama

PerfDelta

Get fix brief for coding agents

get_agent_brief
Read-onlyIdempotent

Fix brief in Markdown for a coding agent working in the repository of the measured website: task and guardrails, baseline (field and lab data, LCP element and phases, layout-shift elements, page weight, third parties, detected stack), all prioritised fixes with stable IDs (PD-...), affected files, pages and elements, an acceptance criterion and whether approval is needed, changes since the previous scan, performance budgets, how to verify, and the status of each fix from earlier agent notes. Report back per fix with add_note on the same scan_id, text "PD- done|skipped|needs_approval|in_progress: "; the next brief shows that status and flags fixes reported done that a later scan still detects. Pass scan_id or url (latest completed scan); both work for any domain with a paid plan, notes and budgets only for your own scans. Free plan: your own scans only (scans you started via web, REST or MCP). Free (no measurement used).

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": "get_agent_brief"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoURL or domain; uses its latest completed scan
langNoLanguage of the brief, en (default) or de
scan_idNoscan_id of a completed scan of any domain (from scan_url, get_history, get_project or the hash of a report URL); notes and budgets are included for your own scans only

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare a read-only, idempotent, non-destructive, closed-world call, yet the description adds real behavioural detail beyond them: it costs no measurement, is plan-gated (own scans only on free, any domain on paid), and it discloses the feedback loop where the next brief shows reported status and flags fixes marked done that a later scan still detects. Return format (Markdown) and the note-reporting contract are stated outright.

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

Conciseness3/5

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

The essentials are front-loaded, but it is delivered as two very long run-on sentences with a dense comma-separated inventory of brief contents, plus an embedded quote used as a message template. Every element is relevant, yet the packing makes it slow to scan and the parenthetical asides could be split into short bullets without losing information.

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 full burden of explaining what comes back, and it does so in detail: per-fix IDs, affected files/pages/elements, acceptance criteria, approval flags, deltas since the previous scan, budgets, verification steps and prior agent-note status. Combined with the plan limits and the add_note reporting contract, an agent has everything needed to call it and act on the result.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning beyond the schema: it explains that scan_id accepts a completed scan of any domain and where to obtain it (scan_url, get_history, get_project, or a report URL hash), and that it resolves to the latest completed scan when a url is given. The lang parameter is not mentioned at all, and there is no conflict or ambiguity introduced.

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?

The first clause states a specific artifact ('Fix brief in Markdown') and a specific consumer ('a coding agent working in the repository of the measured website'), then enumerates exactly what the brief contains (baseline data, prioritised fixes with PD-... IDs, affected files, acceptance criteria, budgets, verification). This clearly separates it from get_fixes, get_changes or get_report, which surface only slices of that content.

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?

It gives concrete invocation guidance: pass scan_id or url, either works for any domain on a paid plan, and notes/budgets appear only for your own scans; free plan is limited to your own scans. It also routes follow-up work explicitly to add_note with a prescribed message format on the same scan_id. It never explicitly contrasts itself with get_fixes or get_report, so the when-not guidance is incomplete.

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