Skip to main content
Glama
google-seo-mcp
by Akxan

Fetch an image, convert it on the server, commit it to GitHub

github_commit_image
Destructive

Downloads an image from a public URL, converts, resizes or cover-crops it, generates variants, and commits every output to a repository branch in one commit; use dryRun to preview first.

Instructions

Download an image from a public URL, convert it (webp by default), resize or cover-crop it, optionally add variants (e.g. a card thumbnail), and commit every output to a branch in one commit. Runs entirely on the server, nothing on the client machine. Use dryRun to see resulting dimensions and bytes first; then register the file in the site's code with github_commit_files (edits).

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": {
      "repo": "<repo>",
      "branch": "<branch>",
      "message": "<message>",
      "sourceUrl": "<sourceUrl>",
      "path": "<path>"
    },
    "name": "github_commit_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesDestination path in the repo, e.g. 'public/assets/img/blog/cover.webp'.
repoYesRepository as 'owner/name', e.g. 'octocat/my-site'.
focusNoCrop anchor: 'attention' keeps the visually busiest region, 'centre' crops symmetrically.attention
widthNoTarget width. With height too, the image is cover-cropped to exactly that size; alone, height follows the aspect ratio. Never upscaled.
branchYesBranch to commit to, e.g. 'main'.
dryRunNoFetch and convert, report dimensions and bytes, commit nothing.
formatNowebp
heightNo
messageYesCommit message in the repository's conventions.
qualityNo
variantsNoExtra outputs from the same source (same format/quality/focus), e.g. a 1000×562 card version.
sourceUrlYeshttp(s) URL of the source image: an image already on a site, a CDN, a shared Google Drive link (uc?export=download&id=…), etc.
createBranchNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.14.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  2. Addedv0.8.0

TDQS

A3.8/5.0
Behavior3/5

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

The annotations already declare openWorldHint, destructiveHint true, and idempotentHint false, and the description adds useful context beyond them: server-side execution, an atomic single commit for all outputs, a dryRun preview, and a no-upscale guarantee. However, it never explains the destructive side that those annotations imply. It does not say whether an existing file at 'path' is overwritten, whether auth scopes are required, or how branch creation behaves. For a destructive write tool, that leaves a real gap beyond the annotations.

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?

It is front-loaded with the main action and packs the conversion, variant, and commit behavior into one dense sentence, followed by a short operational note. Every clause carries information; only the dryRun and github_commit_files sentence could be tightened slightly.

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?

For a 13-parameter destructive mutation with no output schema, the description covers the core flow and preview path but omits key details about createBranch, quality/focus tuning, overwrite semantics, and what the commit response contains. It is adequate to start a call but not complete enough for confident use of the full schema.

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?

With 69% schema description coverage across 13 parameters, the schema carries most of the burden; the description reinforces that 'format' defaults to webp, that variants inherit the same format, quality, and focus, and that dryRun commits nothing. It adds no meaning for parameters the schema leaves undocumented, such as createBranch, quality, focus, and height, which the schema does not describe. As a result, it does little more than echo what is already in the schema.

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 specific verbs and resources: download an image from a public URL, convert it (webp by default), resize or cover-crop, optionally add variants, and commit every output to a branch in one commit. It is clearly distinguishable from the sibling github_commit_attachment, which is named only implicitly; that sibling is mentioned as the next step. The scope constraint (public URL) is stated up front.

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 concrete recommended workflow: use dryRun first to see resulting dimensions and bytes, then use github_commit_files to register the file in the site's code. It also clarifies that everything runs server-side, nothing on the client machine. It does not say when to prefer github_commit_attachment or what to do with non-public or private sources, so the exclusions are missing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.