Skip to main content
Glama

Get patch

get_patch
Read-onlyIdempotent

The consolidated patch of an audit: block to paste, files to create and templates with placeholders. No model — only facts from the page. Each finding becomes a fix in one of three classes: deterministico (comes whole from what the page declares: final URL, title, description, OG), molde (a tag with a marked placeholder, like {{TITULO}}, and the suggested source) or sem_patch (a decision or infrastructure, with the instruction). Nothing is invented by a model.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesAudit ID, from `Audit.id`.
guest_tokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / id / description
      Added value: +"Audit ID, from `Audit.id`."
  2. First observed

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false. The description adds meaningful behavioral context: the patch is generated without a model, based only on page facts, and each finding maps to a deterministic class. It does not cover auth or pagination, but the output generation behavior is well disclosed.

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?

The description is front-loaded with the tool's purpose, then efficiently explains the three fix classes. It is dense but each sentence serves to clarify the output, and there is no redundant filler. Slightly more structure could improve readability, but it is appropriately sized.

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

Completeness3/5

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

Given no output schema, the description does a good job explaining the return content (head block, files, templates, and fix classes). However, it omits usage guidelines and leaves the required guest_token completely undocumented, so an agent cannot fully infer how to invoke the tool correctly.

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

Parameters2/5

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

The description does not mention either input parameter. The schema documents only the 'id' parameter ('Audit ID, from Audit.id'), while 'guest_token' has no description anywhere. With 50% schema coverage and no compensating explanation, agents lack clear semantics for the required guest_token.

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?

The description clearly states that the tool returns a consolidated patch of an audit, with a detailed breakdown of the patch structure and the three fix classes. However, it does not distinguish this tool from siblings like get_audit or audit_url, leaving the agent to infer when to use it.

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?

The description provides no explicit guidance on when to use get_patch versus alternatives such as get_audit, audit_url, or run_tab. There are no conditions, prerequisites, or exclusions mentioned, so the agent must guess the appropriate context.

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