Skip to main content
Glama

apply_effect

Apply an AI photo effect to a photo and return the result image URL. Waits up to about 60 seconds. Costs 11 credits (standard) or 29 credits (pro); failed jobs are refunded. The photo must show a real person who agreed to the edit.

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": {
      "slug": "<slug>",
      "image_url": "<image_url>"
    },
    "name": "apply_effect"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesEffect slug from list_effects, e.g. 80s-yearbook
qualityNostandard or prostandard
image_urlYesPublic URL of the input photo (JPEG, PNG or WebP)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the ~60 second wait ceiling, per-tier credit costs (11 vs 29), and that failed jobs are refunded. It does not mention authentication requirements or what happens on timeout/partial failure, so the disclosure is strong but not exhaustive.

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

Conciseness5/5

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

Four short sentences, front-loaded with the core action and return value, followed by latency, cost, and the eligibility constraint. No filler and no repetition of the name or title.

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?

For a three-parameter tool with no annotations and no output schema, the description covers the essentials an agent needs: what it returns, how long it takes, what it costs, and the content restriction. Only authentication and failure-mode handling beyond refunds are absent, which is a minor gap.

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; the description earns the bump by tying the 'quality' parameter values to concrete cost outcomes (standard = 11 credits, pro = 29 credits), which the schema does not state. It adds no further meaning for slug or image_url beyond the schema text.

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 opens with a specific verb+resource pair ('Apply an AI photo effect to a photo') and states the return value ('result image URL'), which clearly separates it from polling siblings like get_effect_task. It stops short of naming an alternative, so an agent must infer that this is the synchronous execution call rather than a status check.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

It gives preconditions ('The photo must show a real person who agreed to the edit') and cost/latency expectations, which is real usage context. However, it never says when to prefer this over siblings such as face_swap or how it relates to get_effect_task, so the when-to-use routing is left implicit.

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