Skip to main content
Glama
pedra-ai

Pedra MCP Server

Official
by pedra-ai

Renovate space

pedra_renovation

Renovate a room's walls, floors, and finishes, with or without furniture, and return the renovated image URL. Optionally save it to a property gallery by passing a property ID.

Instructions

Renovate a space (walls, floors, finishes), optionally furnished. Returns the renovated image URL. Pass propertyId to save the result into that property's gallery instead of only returning a URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoOptional name for the original photo (e.g. its file name), up to 200 characters. Only used with propertyId: if the photo isn't in that property yet, it's saved there under this name in the same call and returned as source.name. A photo already in the property keeps its name. Never shown on the image.
styleNoRenovation style.
furnishNoWhether the renovated room should be furnished (true → with furniture, false → empty).
imageUrlYesSource image: a public https:// URL, a data: URI, or an absolute path to a local image file on this computer (the file is read and inlined automatically). If the photo is on the user's device and can't be read from here (e.g. it's on their phone), get a link from pedra_create_upload_link.
roomTypeNoRoom type. Auto-detected if omitted.
propertyIdNoOptional id of the Pedra property (from pedra_list_properties) this photo belongs to. When set, the result is saved into that property's gallery — visible and editable from the app — instead of only being returned as a URL.
preserveAspectRatioNoBy default the output comes back at whatever size the AI model produces, which may not match the input's aspect ratio or resolution. Set to true to get the result at the exact width and height of the input image (center-cropped to the original aspect ratio, never stretched). Defaults to false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.6.0
    • addedInput schema / properties / name
      Added value: +{
      +  "description": "Optional name for the original photo (e.g. its file name), up to 200 characters. Only used with propertyId: if the photo isn't in that property yet, it's saved there under this name in the same call and returned as source.name. A photo already in the property keeps its name. Never shown on the image.",
      +  "maxLength": 200,
      +  "type": "string"
      +}
    • addedInput schema / properties / preserveAspectRatio
      Added value: +{
      +  "description": "By default the output comes back at whatever size the AI model produces, which may not match the input's aspect ratio or resolution. Set to true to get the result at the exact width and height of the input image (center-cropped to the original aspect ratio, never stretched). Defaults to false.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / propertyId
      Added value: +{
      +  "description": "Optional id of the Pedra property (from pedra_list_properties) this photo belongs to. When set, the result is saved into that property's gallery — visible and editable from the app — instead of only being returned as a URL.",
      +  "type": "string"
      +}
  2. Changed2 schema fields changedv0.5.1
    • removedInput schema / properties / creativity
      Removed value: -{
      -  "description": "Strength of the AI transformation. Defaults to \"Medium\".",
      -  "enum": [
      -    "Low",
      -    "Medium",
      -    "High"
      -  ],
      -  "type": "string"
      -}
    • changedInput schema / properties / imageUrl / description
      Previous value: -"Source image: a public https:// URL, a data: URI, or an absolute path to a local image file (the file is read and inlined automatically)."New value: +"Source image: a public https:// URL, a data: URI, or an absolute path to a local image file on this computer (the file is read and inlined automatically). If the photo is on the user's device and can't be read from here (e.g. it's on their phone), get a link from pedra_create_upload_link."
  3. Changed1 schema field changedv0.1.2
    • changedInput schema / properties / imageUrl / description
      Previous value: -"URL (or data: URL) of the source image."New value: +"Source image: a public https:// URL, a data: URI, or an absolute path to a local image file (the file is read and inlined automatically)."
  4. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, open-world operation. The description notes that a result URL is returned and that passing propertyId persists the result into a gallery, which is a meaningful side-effect distinction for a mutation. However, that same side-effect is fully spelled out in the propertyId schema field, so the description adds little beyond structured data; no coverage of latency, cost, or failure behavior.

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?

Three short sentences, front-loaded with the core action and then the propertyId conditional, with no filler. Slightly tighter than ideal only because the propertyId sentence duplicates the schema field almost verbatim.

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?

With no output schema, the description usefully states the return value ('the renovated image URL'), and 100% schema coverage handles parameters. The main omission is tool-selection context against closely related siblings, but for a single-purpose image-generation call the definition is nearly callable as-is.

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?

Schema description coverage is 100%, so the schema already documents all seven parameters, including the notable furnish and preserveAspectRatio semantics. The description only echoes 'optionally furnished' and the propertyId effect, adding no syntax, defaults, or enum meaning beyond what the fields provide. Baseline 3 is appropriate.

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 ('Renovate a space') plus the scope of the operation (walls, floors, finishes), so an agent knows it produces a renovated image. It does not distinguish itself from siblings that overlap heavily, notably pedra_furnish and pedra_empty_room, whose functions are partially absorbed by the 'furnish' parameter here.

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 gives no when-to-use guidance and names no alternatives, despite several siblings (pedra_furnish, pedra_empty_room, pedra_edit_via_prompt) that could plausibly be chosen instead. The only conditional given is about propertyId, which is a parameter behavior, not tool selection guidance.

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