Skip to main content
Glama

Sigmora

Analyze retention scene by scene

assets_analyze
DestructiveIdempotent

Run a scene-by-scene retention analysis of a workspace asset and receive a Sigmora Score.

200 credits.

RESULT CONTRACT: Returns one durable jobId (kind media.analysis). Poll GET /v1/jobs/{jobId}; done is the only successful terminal state, and a failed run is refunded. While this asset already has an analysis queued or running, the call returns that job with credits: 0.

ASYNC: answers with { jobId }, NOT the result. Read it with the jobs_get tool until status is done, cancelled, failed or qa_failed. status: "awaiting_review" means a person must approve the cut before anything renders — polling will never advance it, so tell the user rather than waiting.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "projectId": "<projectId>",
      "assetId": "<assetId>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "assets_analyze"
  }
}

Input Schema

NameRequiredDescriptionDefault
assetIdYesThe `assetId` this call acts on.
projectIdYesThe project to file this work under. Required — create one with the `projects_create` tool. A project this workspace does not own answers `not_found`; the work is never silently filed somewhere else.
workspaceNoWorkspace slug. Omit to use the workspace your credential is bound to. An API key names its own workspace, and a value that disagrees with it is refused rather than ignored.
idempotencyKeyYesRequired for anything that spends or creates durable state. Generate a unique id per logical call. Retrying with the SAME id and the SAME arguments returns the stored result instead of doing — and charging for — the work twice; the same id with different arguments is refused with `conflict`.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only flag destructive/openWorld/idempotent; the description adds the decisive facts an agent could not infer: a 200-credit cost, refund on failed runs, zero-cost reuse of an in-flight job, and the exact 'done' success criterion. It also warns that awaiting_review never advances via polling and should be surfaced to the user.

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?

Cost and result contract are front-loaded, followed by clearly labeled RESULT CONTRACT and ASYNC blocks. Every sentence carries actionable information — no filler, no restatement of the title.

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 an async, credit-spending job with four parameters, the definition covers cost, idempotent retry semantics, in-flight job reuse, terminal states, and the human-review blocker. With an output schema present it correctly omits result-shape detail while still describing the immediate `{ jobId }` response.

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 100%, so all four parameters including idempotencyKey are already documented in the schema, and the baseline of 3 applies. The description adds only a small amount of meaning, notably that a queued analysis for the same asset returns `credits: 0`, which clarifies effective dedup behavior without adding field-level guidance.

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 first sentence gives a specific verb and resource — 'scene-by-scene retention analysis of a workspace asset' producing a 'Sigmora Score' — which is distinct from a generic video_analyze or word-gap analysis. It never names a sibling tool, so the agent must infer the boundary from the resource description alone.

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?

The description thoroughly explains the post-call workflow (poll jobs_get, terminal states, awaiting_review) and the queued-job reuse case, but it never says when to choose this over sibling analyses such as video_analyze or sigma_analyze_word_gaps. Usage guidance is operational rather than selective.

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