Skip to main content
Glama

Remove shadows

remove_shadow

Remove harsh shadows from a photo, for example on a product shot or a face. OAuth uses site credits (from 30 credits per image with the default model). API keys use a separate USD wallet. Omit approval to get a quote, then confirm max_credits for OAuth or currency USD and decimal max_usd for API keys.

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

Input Schema

NameRequiredDescriptionDefault
imageNoChatGPT only: the photo the user attached. Use image_url everywhere else.
max_usdNoAPI key only: maximum approved USD as a decimal string with up to 9 fractional digits. Set currency to USD. Only set after the user confirms the quoted cost_usd. Never convert max_credits.
currencyNoBilling unit: USD for API keys; credits for OAuth (optional for existing OAuth clients).
image_urlNoThe photo: a public https link, or a popnow:// link from an earlier result.
max_creditsNoOAuth only: the most site credits the user agreed to spend on this. Only set it after the user confirmed a quoted price.
production_idNoOptional. Run this inside a production opened with open_production: it is paid from that production's budget and needs no separate approval while the budget lasts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / production_id
      Added value: +{
      +  "description": "Optional. Run this inside a production opened with open_production: it is paid from that production's budget and needs no separate approval while the budget lasts.",
      +  "type": "string"
      +}
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare a non-destructive, non-idempotent, open-world write. Beyond that, the description discloses substantive behaviour: two separate billing rails (site credits for OAuth, USD wallet for API keys), a quote-then-confirm approval gate, and production-budget mode that bypasses separate approval. Missing only output/return behaviour, which is partly excused by the quote flow.

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?

Front-loads what the tool does in one sentence, then packs the billing and approval rules into two dense but readable sentences. Every clause carries an operational constraint; nothing repeats 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 6-parameter, no-output-schema tool with nested file objects, the description covers the risky parts an agent could get wrong: which currency rail applies and when approval must be requested. The remaining gaps (image source selection, what a result looks like) are covered by the schema or minor.

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 real meaning the schema doesn't spell out as a policy: the approval sequence (no approval → quote; then max_credits/max_usd) and the separation between credits and USD. It does not, however, explain the image vs image_url choice, which the schema carries alone.

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?

States a specific verb and resource ('Remove harsh shadows from a photo') and scopes it with concrete examples ('product shot or a face'). It does not explicitly distinguish itself from near neighbours such as edit_image or remove_background, so it stops short of a 5.

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?

The second half gives a clear two-step workflow (omit approval to get a quote, then confirm max_credits or max_usd), which is genuine usage guidance. However, it says nothing about when to prefer this over retouching/editing siblings or when this tool is the wrong choice, leaving selection guidance implied.

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.