Skip to main content
Glama

Metadata Render Listing

metadata_render_listing
Idempotent

Syncs listing.json with app.spec.json by updating store locales, in-app purchase copy slots, and legal URLs after spec changes, then reports changed locales.

Instructions

Sync listing.json to the spec (store locales, IAP copy slots) and fill the legal URLs.

Use when: after changing the spec's store locales or products. Local writes only; verify with metadata_listing_check. Returns: {ok, locales, changed}.

Input Schema

NameRequiredDescriptionDefault
app_dirYesAbsolute path to the app project directory (contains app.spec.json), e.g. /Users/me/Apps/MyApp.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.5
    • addedInput schema / properties / app_dir / description
      Added value: +"Absolute path to the app project directory (contains app.spec.json), e.g. /Users/me/Apps/MyApp."
  2. First observedv0.1.1

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, idempotent, non-destructive, closed-world write. The description adds the genuinely new fact that writes are local-only, which tells the agent nothing remote is mutated and that state lives on disk. It also restates the return shape, though an output schema already exists.

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 labeled lines: action, trigger, scope plus verification, and return shape. Front-loaded with the verb and resource, and every sentence carries distinct information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter local write with annotations covering the safety profile and a separate output schema, the description supplies everything needed: what changes, when to invoke it, that writes stay local, and which sibling verifies the result.

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?

Only one parameter, and the schema description already covers it at 100% (absolute path to the app directory containing app.spec.json). The description adds no syntax, format, or path-resolution detail beyond what the schema supplies, so the baseline 3 applies.

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 a specific verb and resource ('Sync listing.json to the spec') and enumerates the concrete payload it touches (store locales, IAP copy slots, legal URLs). It is clearly distinguishable from sibling metadata_listing_check, which it explicitly frames as the verification step.

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?

'Use when: after changing the spec's store locales or products' gives an explicit trigger condition, and the description routes the agent to metadata_listing_check for verification. No explicit when-not or edge-case exclusions are provided, so it falls just short of a 5.

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

Deploy Server

Other Tools