Skip to main content
Glama

Remove shadows

remove_shadow

Remove harsh shadows from a photo, for example on a product shot or a face. Charged in USD to your PopNow balance. Call it without max_usd for a quote, then again with max_usd after the user approves.

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_usdNoApproved maximum in USD as a decimal string with up to 9 fractional digits, copied from the quoted cost_usd. Set it only after the user approves; leave it out to get a quote. Nothing is charged without it.
currencyNoOptional. Always USD for this endpoint.
image_urlNoThe photo: a public https link, or a popnow:// link from an earlier result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare the write/idempotency/open-world profile; the description adds the crucial commercial behavior — the call is charged in USD against a PopNow balance and the two-step quote-then-approve flow. It stops short of saying whether the source photo is preserved or what the result looks like, but the cost disclosure is substantive context beyond the schema and annotations.

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?

Three tight sentences: purpose and examples first, then the billing fact, then the exact call protocol. Nothing redundant and the critical constraint is front-loaded.

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 four-parameter mutation with a nested image object, a 100%-covered schema, and no output schema, the description supplies the pieces the schema cannot: what the tool is for and the mandatory billing workflow. Only the return-value expectation is unaddressed, which is minor given the schema detail.

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 would be 3; the description earns extra by explaining the sequencing semantics of max_usd (omit for a quote, supply after approval). It does not add anything about the image vs image_url distinction, but the schema already carries that.

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 gives a specific verb+resource ('Remove harsh shadows from a photo') and adds concrete examples (product shot, face) so the agent knows the visual target. It does not explicitly contrast with close siblings such as relight_photo or erase_object, so the differentiation is only implied.

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 lays out a clear call sequence: invoke without max_usd to get a quote, then re-invoke with max_usd only after the user approves. That is explicit operating guidance, though it offers no when-to-use comparison against sibling photo tools.

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.