Skip to main content
Glama

Create Product

sonar_create_product

WRITE tool — creates a product in the caller's Sonar workspace and starts tracking the given app(s). A product is the cross-store unit (one iOS + one Android app, or just one of either). Returns the product id and the Sonar app ids needed by sonar_track_keywords and sonar_track_competitor. Requires an Indie plan (trial counts) and an authorized Sonar account or an API key with the write scope.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appsYes1-2 store versions: a single iOS or Android app, or one of each for a cross-store product.
nameNoProduct name. Optional — defaults to the first app's name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false. The description adds valuable context beyond annotations: it states the required plan (Indie), authorization needs (authorized account or API key with write scope), and the fact that it starts tracking the given apps. It also discloses returned ids, which is useful for workflow planning. Missing rate limits or error behaviors, but for a creation tool this is strong.

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 sentences, front-loaded with the operation type and scope, then workflow dependencies, then prerequisites. Every sentence adds distinct value; no redundancy.

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 write tool with a clear schema and annotations, the description covers the essential: what it does, what it returns, dependencies, and authorization/plan requirements. It lacks details on error conditions or rate limits, but these are not critical for correct invocation. The absence of an output schema means the description appropriately compensates by stating the returned values.

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 fully documents the 'apps' and 'name' parameters. The description adds no additional syntax or format details beyond what the schema provides (e.g., doesn't explain the 'country' default or 'store_id' format nuances). Baseline 3 is appropriate when schema does the heavy lifting.

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 ('creates') and resource ('a product in the caller's Sonar workspace'), and clarifies the domain concept ('cross-store unit: one iOS + one Android app'). It distinguishes itself from siblings by referencing the downstream tools (sonar_track_keywords, sonar_track_competitor) and the returned ids, which helps an agent understand its role in the workflow.

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?

Clearly signals it's a prerequisite for sonar_track_keywords and sonar_track_competitor by returning the necessary ids, effectively telling the agent when this tool is needed. However, it doesn't explicitly state when *not* to use it or contrast with alternatives like sonar_list_products or sonar_delete_product beyond the sibling reference.

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.