Skip to main content
Glama

Prepare native studio session

prepare_studio_session
Idempotent

Prepare a native session for your own agent in any studio named by studio_kind, using all canonical native toolsets and instructions. The exact source, catalog, objective and finite total credit ceiling are frozen. Zero-credit sessions require no paid approval. Positive ceilings require the creator approval link before starting; video needs include_video and its own separate approval. This call never invokes a model or provider. Additional GenAds homes and advertisers must be explicitly selected; native_policy is only for Film, Series or GenAds Social automation.

Input Schema

NameRequiredDescriptionDefault
briefYes
store_idsNoExact customer-owned stores for this GenAds session or task. Requires separate commerce:read consent and current native store grants. No store writes, orders, customer data or advertising authority is granted.
request_keyYes
studio_kindYes
workspace_idYes
include_videoNoSet true only when the task may generate video. A credit limit alone never authorizes video; the creator approves it separately in Genflick. Omitted means no video.
native_policyNoOptional exact native Social automatic policy plan for this Film or Series. Requires real creator consent, selected owned accounts and automatic-work scope. The existing session ceiling also bounds all automatic descendants; no recurring budget reset or auto-reload.
ad_account_idsNoExact advertisers for a GenAds session or task. Requires separate current ads scopes and native account grants. Creative credits do not authorize ad spend; each stage, activation or budget change still requires its saved human approval.
maximum_creditsYes
expected_revisionYes
crm_connection_idsNoExact customer-owned CRM connections for this GenAds session or task. Requires crm:read and current native access. Lead delivery additionally needs crm:deliver, source advertiser lead permission and exact native human approval; contacts never enter assistant results.
genads_project_idsNoExact additional GenAds homes for this Film or Series session or task. Each must already be selected in the current connection. Nesting alone grants no access.
allow_genads_creationNoPermit creating native GenAds projects inside this Film or Series. Requires current projects:write and adds only each actually created child to this session and grant.
analytics_connection_idsNoExact customer-owned analytics connections selected for this GenAds session or task. Requires analytics:read and current native access. Reports preserve source attribution and data quality; this grants no analytics configuration, customer-level data, or advertising spend.
expected_catalog_versionYesFor a new session, read a studios/{studio}/native/{pack} child toolset and copy invocation.catalog_version from a native tool descriptor. Do not use the top-level library version. For calls in an existing session, use that session proposal's catalog_version.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare non-read-only, idempotent, non-destructive and closed-world, so the description's job is to add context, and it does: it says the source, catalog, objective and credit ceiling are frozen, that approval links gate positive ceilings, and crucially that 'this call never invokes a model or provider'. That last point materially changes agent expectations about cost and side effects. It stops short of describing what the prepared session object contains, though the output schema covers that.

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?

Five sentences, front-loaded with the action and scope, with no filler or restatement of the title. Some sentences are dense and jargon-laden ('canonical native toolsets', 'the exact source, catalog, objective ... are frozen'), which costs a little readability but not much length.

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 15-parameter, conditionally-constrained tool with an output schema and annotations, the description covers the high-risk surfaces: approval gating, video authorization, GenAds account selection and the no-model-invocation guarantee. What is missing is the lifecycle relationship to start_studio_session and any note on how request_key supports the declared idempotency, but nothing essential to calling it correctly is absent.

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 coverage is 60%, so the baseline sits at 3 and the description only marginally exceeds it. It adds the notion that expected_revision, expected_catalog_version, maximum_credits and the brief are 'frozen' at preparation time, which explains why those parameters are required, and it clarifies that GenAds homes and advertisers must be explicitly selected. It says nothing about workspace_id, request_key or the enum's other studio kinds, leaving several parameters documented only by the schema.

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 states a specific verb and resource ('Prepare a native session') and scopes it to 'any studio named by studio_kind', with the additional detail that all canonical native toolsets and instructions are attached. It does not distinguish itself from the adjacent siblings start_studio_session, prepare_studio_task or start_studio_task, so an agent cannot tell from the text alone which of these to reach for.

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?

Conditional guidance is present but is about approvals rather than tool selection: zero-credit sessions need no paid approval, positive ceilings need the creator approval link, video requires include_video plus separate approval, and native_policy is restricted to Film/Series/GenAds Social automation. There is no statement of when to use this versus start_studio_session or prepare_studio_task, so routing is left to inference.

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.

Resources