{"name":"cn.narracore/screenplay-formatter","slug":"narracore-screenplay-formatter","title":"Narracore Screenplay Formatter","description":"Screenplay, film and story toolkit over MCP: PDF formatting, stats, diagnosis, video prompts.","url":"https://mcp.market/server/narracore-screenplay-formatter","rating":null,"grade":"B","score":79,"certified":false,"status":"active","category":"media","tags":["media"],"presence":{"score":23,"stars":0,"forks":0,"downloads_week":null,"last_push_at":"2026-09-18T09:18:05.000Z","license":"CC-BY-4.0"},"claimed":false,"transport":"remote","callable_via_gateway":true,"default_price_micros":0,"repository":"https://github.com/xiaoanran0602-pixel/narracore-mcp-public","website":"https://narracore.app","version":"1.3.0","remotes":[{"type":"streamable-http","url":"https://mcp.narracore.app/mcp","headers":[{"description":"Optional license key for paid credits, value 'Bearer NRC-XXXX-XXXX-XXXX-XXXX'. The free daily tier works without it.","isSecret":true,"name":"Authorization"}]}],"packages":[],"tools":[{"name":"absorb_story_window","description":"CHARGED (1 credit per story project per 24h; any validation failure is never charged, absorbed-window repeats are free no-ops). Merge YOUR extraction of a prepared window: selectors must quote/anchor exact unit text (server pulls canon verbatim; client canon_text is rejected) and the returned canon_patch must be tail-hash-verified by the client before applying. YOU decide what the story means; the server only verifies anchors and patch safety, not truth. 失败不收费、同项目 24h 只扣一次；AI 提炼、服务端核验锚点与补丁安全，不判断真伪。","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"state":{"type":"object","properties":{"schema_version":{"type":"string","const":"v1"},"project_token":{"type":"string","minLength":1,"maxLength":256},"canon_tail":{"type":"string","maxLength":16000},"bible":{"maxItems":2000,"type":"array","items":{"type":"object","properties":{"entry_id":{"type":"string","minLength":1,"maxLength":128},"kind":{"type":"string","minLength":1,"maxLength":128},"text":{"type":"string","minLength":1},"sources":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"window_fp":{"type":"string","pattern":"^sw-v1:[a-f0-9]{64}$"},"unit_id":{"type":"string","minLength":1,"maxLength":128},"quote":{"type":"string","minLength":1}},"required":["window_fp","unit_id","quote"],"additionalProperties":false}}},"required":["entry_id","kind","text","sources"],"additionalProperties":false}},"archive":{"maxItems":4000,"type":"array","items":{"type":"object","properties":{"entry":{"type":"object","properties":{"entry_id":{"type":"string","minLength":1,"maxLength":128},"kind":{"type":"string","minLength":1,"maxLength":128},"text":{"type":"string","minLength":1},"sources":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"window_fp":{"type":"string","pattern":"^sw-v1:[a-f0-9]{64}$"},"unit_id":{"type":"string","minLength":1,"maxLength":128},"quote":{"type":"string","minLength":1}},"required":["window_fp","unit_id","quote"],"additionalProperties":false}}},"required":["entry_id","kind","text","sources"],"additionalProperties":false},"reason":{"type":"string","enum":["superseded","archived"]},"source":{"type":"object","properties":{"window_fp":{"type":"string","pattern":"^sw-v1:[a-f0-9]{64}$"},"unit_id":{"type":"string","minLength":1,"maxLength":128},"quote":{"type":"string","minLength":1}},"required":["window_fp","unit_id","quote"],"additionalProperties":false},"replacement_id":{"type":"string","minLength":1,"maxLength":128}},"required":["entry","reason"],"additionalProperties":false}},"absorbed_window_fps":{"maxItems":1024,"type":"array","items":{"type":"string","pattern":"^sw-v1:[a-f0-9]{64}$"}}},"required":["schema_version","project_token","canon_tail","bible","archive","absorbed_window_fps"],"additionalProperties":false},"units":{"minItems":1,"maxItems":4000,"type":"array","items":{"type":"object","properties":{"unit_id":{"type":"string","minLength":1,"maxLength":128},"turn_id":{"type":"string","minLength":1,"maxLength":128},"role":{"type":"string","enum":["user","assistant"]},"text":{"type":"string"},"start":{"type":"integer","minimum":0,"maximum":9007199254740991},"end":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["unit_id","turn_id","role","text","start","end"],"additionalProperties":false}},"extraction":{"type":"object","properties":{"base_state_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"window_fp":{"type":"string","pattern":"^sw-v1:[a-f0-9]{64}$"},"canon_segments":{"maxItems":4000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"unit_id":{"type":"string","minLength":1,"maxLength":128},"quote":{"type":"string","minLength":1}},"required":["unit_id","quote"],"additionalProperties":false},{"type":"object","properties":{"unit_id":{"type":"string","minLength":1,"maxLength":128},"start_anchor":{"type":"string","minLength":1},"end_anchor":{"type":"string","minLength":1}},"required":["unit_id","start_anchor","end_anchor"],"additionalProperties":false}]}},"bible_ops":{"maxItems":2000,"type":"array","items":{"oneOf":[{"type":"object","properties":{"op":{"type":"string","const":"upsert"},"entry":{"type":"object","properties":{"entry_id":{"type":"string","minLength":1,"maxLength":128},"kind":{"type":"string","minLength":1,"maxLength":128},"text":{"type":"string","minLength":1},"sources":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"window_fp":{"type":"string","pattern":"^sw-v1:[a-f0-9]{64}$"},"unit_id":{"type":"string","minLength":1,"maxLength":128},"quote":{"type":"string","minLength":1}},"required":["window_fp","unit_id","quote"],"additionalProperties":false}}},"required":["entry_id","kind","text","sources"],"additionalProperties":false}},"required":["op","entry"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"supersede"},"target_id":{"type":"string","minLength":1,"maxLength":128},"entry":{"type":"object","properties":{"entry_id":{"type":"string","minLength":1,"maxLength":128},"kind":{"type":"string","minLength":1,"maxLength":128},"text":{"type":"string","minLength":1},"sources":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"window_fp":{"type":"string","pattern":"^sw-v1:[a-f0-9]{64}$"},"unit_id":{"type":"string","minLength":1,"maxLength":128},"quote":{"type":"string","minLength":1}},"required":["window_fp","unit_id","quote"],"additionalProperties":false}}},"required":["entry_id","kind","text","sources"],"additionalProperties":false}},"required":["op","target_id","entry"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"archive"},"target_id":{"type":"string","minLength":1,"maxLength":128},"source":{"type":"object","properties":{"window_fp":{"type":"string","pattern":"^sw-v1:[a-f0-9]{64}$"},"unit_id":{"type":"string","minLength":1,"maxLength":128},"quote":{"type":"string","minLength":1}},"required":["window_fp","unit_id","quote"],"additionalProperties":false}},"required":["op","target_id","source"],"additionalProperties":false},{"type":"object","properties":{"op":{"type":"string","const":"no_change"},"target_id":{"type":"string","minLength":1,"maxLength":128}},"required":["op","target_id"],"additionalProperties":false}]}},"story_merge":{"anyOf":[{"type":"object","properties":{"action":{"type":"string","enum":["append","discard","no_story_change"]}},"required":["action"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"replace_tail"},"anchor":{"type":"string","minLength":1}},"required":["action","anchor"],"additionalProperties":false}]}},"required":["base_state_hash","window_fp","canon_segments","bible_ops","story_merge"],"additionalProperties":false},"license_key":{"description":"License key NRC-XXXX-XXXX-XXXX-XXXX (optional — one free analysis per day works without one)","type":"string","pattern":"^NRC-[A-Z2-9]{4}(-[A-Z2-9]{4}){3}$"},"request_id":{"description":"Idempotency key (optional; same request_id never double-charges)","type":"string","maxLength":64}},"required":["units","extraction"],"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false}},{"name":"analyze_screenplay","description":"Deterministic screenplay statistics from the Narracore analyzer (analyzer_version 1.0, same rules as narracore.cn): a scene list with structured scene headings (scene number / location / time of day / INT-EXT parsed from each heading), per-scene word count, dialogue ratio and action density, plus a character table (cue count, scenes present, dialogue lines, dialogue chars, share of dialogue). Accepts the same inputs as format_screenplay (input_format=\"text\" or \"blocks\") — pass the SAME screenplay to both tools: one credit covers one screenplay for 24 hours across the screenplay tools (format / analyze / diagnose / convert / video prompts). When chaining tools, pass back the blocks you received (structured), not the formatted plain text. Failed calls are never charged; retrying the same request_id never double-charges. 剧本确定性统计：场景清单（结构化场景头）、逐场字数/对白占比/动作密度、角色戏份表；同一份剧本 24 小时内多工具只扣一次。","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"input_format":{"description":"text (default): line-based screenplay text. blocks: typed blocks (e.g. the blocks returned by format_screenplay).","type":"string","enum":["text","blocks"]},"text":{"description":"Raw screenplay text (required when input_format=\"text\")","type":"string","minLength":1,"maxLength":200000},"blocks":{"description":"Typed blocks (required when input_format=\"blocks\")","maxItems":2000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":64},"type":{"type":"string","enum":["scene_heading","action","character","parenthetical","dialogue","transition","shot","note"]},"text":{"type":"string"},"speaker":{"type":"string","maxLength":64},"delivery":{"type":"string","maxLength":120},"scene_number":{"type":"string","maxLength":16},"location":{"type":"string","maxLength":120},"time_of_day":{"type":"string","maxLength":16}},"required":["type"]}},"license_key":{"description":"License key NRC-XXXX-XXXX-XXXX-XXXX (optional — free daily quota works without one)","type":"string","pattern":"^NRC-[A-Z2-9]{4}(-[A-Z2-9]{4}){3}$"},"request_id":{"description":"Idempotency key (optional)","type":"string","maxLength":64}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"build_video_prompts","description":"Turn a screenplay into structured video-generation prompt scaffolds (deterministic — no LLM on the server; YOU fill the creative fields). For each selected scene it estimates ~15s segments (marked estimated), registers entities (characters + dialogue counts), proposes ≤4 shots per segment at beat boundaries, pre-fills dialogue lines VERBATIM from the screenplay (never rewrite them), and emits a two-layer template per segment: a SHARED block (A/V limits, camera base, style, entities, causal chain, global guards) written once, plus SHOT blocks carrying only private fields, with CUT-OUT/CUT-IN handoff lines between shots. STYLE GUIDANCE, never a style lock: by default the style section is a decision checklist (medium / frame-rate mechanism / brush / color-domain boundaries / light & face readability / banned vocabulary, each with how-to and example); optionally pass style=\"engine_cinematic\" | \"painted_on_twos\" | \"live_action_neutral\" as an EDITABLE starting point, and/or style_note (≤500 chars, passed through verbatim). The response includes a condensed filling guide (eyeline = screen vector, performance arc, causal chain, motion domains, cut-point two-state, targeted negative guards). Estimates are proposals — adjust to the scene's beats. Charged like the other screenplay tools: one credit covers one screenplay for 24 hours across the screenplay tools; failed calls are never charged; same request_id retries never double-charge. After filling, call check_video_prompts (free) for drift findings. 剧本→视频提示词骨架：台词逐字预填、实体登记、段-镜两层结构与切点两态；风格由用户决定（决策清单+可选预设+自由附注），服务端不代做创意决定。","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"input_format":{"description":"text (default): line-based screenplay text. blocks: typed blocks (e.g. from format_screenplay).","type":"string","enum":["text","blocks"]},"text":{"description":"Raw screenplay text (required when input_format=\"text\")","type":"string","minLength":1,"maxLength":200000},"blocks":{"description":"Typed blocks (required when input_format=\"blocks\")","maxItems":2000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":64},"type":{"type":"string","enum":["scene_heading","action","character","parenthetical","dialogue","transition","shot","note"]},"text":{"type":"string"},"speaker":{"type":"string","maxLength":64},"delivery":{"type":"string","maxLength":120},"scene_number":{"type":"string","maxLength":16},"location":{"type":"string","maxLength":120},"time_of_day":{"type":"string","maxLength":16}},"required":["type"]}},"scenes":{"description":"Scene numbers (1-based) to scaffold; default all (batch with this when a full screenplay is too large)","maxItems":200,"type":"array","items":{"type":"integer","minimum":1,"maximum":9007199254740991}},"segment_seconds":{"description":"Target segment duration in seconds (default 15, range 5-60) — estimates, adjust to actual beats","type":"integer","minimum":5,"maximum":60},"style":{"description":"Optional style preset as an EDITABLE starting point: engine_cinematic / painted_on_twos / live_action_neutral (default: decision checklist — never a lock)","type":"string","enum":["engine_cinematic","painted_on_twos","live_action_neutral"]},"style_note":{"description":"Free-form style note (≤500 chars) passed through VERBATIM into every segment shared block — never validated","type":"string","maxLength":500},"license_key":{"description":"License key NRC-XXXX-XXXX-XXXX-XXXX (optional — free daily quota works without one)","type":"string","pattern":"^NRC-[A-Z2-9]{4}(-[A-Z2-9]{4}){3}$"},"request_id":{"description":"Idempotency key (optional)","type":"string","maxLength":64}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"check_credits","description":"Check the remaining credits for a Narracore license key (NRC-XXXX-XXXX-XXXX-XXXX), plus recent usage and the purchase link. One credit covers one screenplay for 24 hours across the screenplay tools, or one film analysis, or one story project for 24 hours. Costs nothing. 查询授权码剩余服务次数（1 次＝一份剧本 24 小时剧本类工具通用，或一次拉片分析，或一个故事项目 24 小时）。 Preferred: set the key in your MCP client auth (Authorization: Bearer NRC-…) instead of passing it in chat.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"license_key":{"description":"License key NRC-XXXX-XXXX-XXXX-XXXX (optional if configured in client auth header)","type":"string","pattern":"^NRC-[A-Z2-9]{4}(-[A-Z2-9]{4}){3}$"}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"check_video_prompts","description":"FREE deterministic quality gates for video-generation prompts written against a screenplay (no LLM on the server — pattern matching and set comparison only; findings are reported, nothing is blocked). Submit the SAME screenplay plus up to 10 finished prompt texts (≤20k chars each). VIOLATIONS (objective locks): DIALOGUE_DRIFT — a DIALOGUE line attributed to a registered screenplay character whose text is not found verbatim (whitespace/punctuation-insensitive), i.e. rewritten, trimmed or hallucinated dialogue; STRUCTURE_MISSING_CUTOUT / _CUTIN / HANDOFF_MISMATCH — scaffold-format prompts ([SHOT n] markers) must carry CUT-OUT last-frame and CUT-IN first-frame states with the next shot repeating the previous verbatim; STRUCTURE_DUPLICATES_SHARED — a SHARED line restated inside a shot block (shot blocks carry only private fields). ADVISORIES (disable with advisories=false): BARE_EYELINE (\"looks at X\" with no screen-space direction), LITERARY_RHETORIC (metaphors a renderer cannot draw), EMPTY_NEGATIVE (\"no weirdness\"-style), CONFLICT_PAIRS (locked vs handheld, single-shot vs hard cuts, on-twos vs smooth), PLACEHOLDER_LEFT, CHAR_LIMIT (yours, or the style preset's recommended one), STYLE_CONSISTENCY (banned vocabulary of your chosen preset, or two medium families mixed). Free-form prompts without [SHOT] markers skip structure gates (reported honestly). Free — no key needed, works without one. 免费确定性质量门：台词逐字锁、结构切点两态锁（violation）+ 视线/修辞/冲突/风格自洽启发（advisory），只报告不拦截。","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"input_format":{"description":"text (default): line-based screenplay text. blocks: typed blocks (e.g. from format_screenplay).","type":"string","enum":["text","blocks"]},"text":{"description":"The screenplay the prompts were written from (required when input_format=\"text\")","type":"string","minLength":1,"maxLength":200000},"blocks":{"description":"Typed blocks (the screenplay the prompts were written from)","maxItems":2000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":64},"type":{"type":"string","enum":["scene_heading","action","character","parenthetical","dialogue","transition","shot","note"]},"text":{"type":"string"},"speaker":{"type":"string","maxLength":64},"delivery":{"type":"string","maxLength":120},"scene_number":{"type":"string","maxLength":16},"location":{"type":"string","maxLength":120},"time_of_day":{"type":"string","maxLength":16}},"required":["type"]}},"prompts":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"object","properties":{"label":{"description":"Your name for this prompt (echoed in findings)","type":"string","maxLength":64},"text":{"type":"string","minLength":1,"maxLength":20000,"description":"One finished prompt text to check"}},"required":["text"]},"description":"The finished prompt(s) (from build_video_prompts scaffolds or free-form)"},"char_limit":{"description":"Optional character limit per prompt (advisory; default: the style preset recommendation, or none)","type":"integer","minimum":100,"maximum":100000},"style":{"description":"The style preset you built with (enables its banned-vocabulary and recommended-limit advisories)","type":"string","enum":["engine_cinematic","painted_on_twos","live_action_neutral"]},"advisories":{"description":"Run advisory gates too (default true; false = violations only)","type":"boolean"},"request_id":{"description":"Echoed back for tracing (this tool is free — no idempotency semantics needed)","type":"string","maxLength":64}},"required":["prompts"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"compile_film_breakdown","description":"CHARGED (1 credit per film analysis — the same analysis_id within 24h is NOT charged again; failed validation is never charged). Compile a validated film breakdown into a bounded, derivable result: authoritative validation → window→canonical shot merge (long-take windows are recombined so a 60s take is ONE shot in every statistic) → exact aggregates (distributions, shot lengths, per-scene aggregates, coverage) → deterministic-heuristic reconstructions (performance arc, cut logic, camera-performance logic — reproducible interpretations, explicitly labelled, NOT facts) → a print-ready PDF report (scene table + per-scene arcs + shot tables) with a 24h signed link. Your input records are NEVER echoed back — you already have them locally; this returns only the derived increments. analysis_id = sha256(media_id + sha256(topology_hash + film_schema_version + film_vocab_version)) with media_id = sha256(video bytes) computed locally; the server never sees the video and cannot verify media_id (it exists to protect YOU from double-charging, not as anti-cheat). Recompile after re-observing with a different model: same analysis_id, no re-charge; change the cuts or the protocol: new analysis. 收费编译：权威校验→长镜窗口合并→确定性统计+启发式重组→PDF 报告；不完整窗口/非法词表一律拒绝且不收费；同一分析任务 24h 内重复编译不重复扣费。","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"film_manifest":{"type":"object","properties":{"media_id":{"type":"string","pattern":"^[0-9a-f]{64}$"},"duration_sec":{"type":"number","exclusiveMinimum":0,"maximum":28800},"cut_timestamps":{"maxItems":4000,"type":"array","items":{"type":"number"}}},"required":["media_id","duration_sec","cut_timestamps"]},"shots":{"minItems":1,"maxItems":2400,"type":"array","items":{"type":"object","properties":{"shot_id":{"type":"string","minLength":1,"maxLength":32},"start_sec":{"type":"number"},"end_sec":{"type":"number"},"scene_grammar":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"objective_layer":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"temporal_layer":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"spatial_layer":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"performance_layer":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"audio_observation":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"prompt_reverse_fields":{},"transfer_profile":{},"tags":{},"scene_key":{"type":"string","maxLength":64},"scene_boundary_before":{"type":"boolean"},"dramatic_layer":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"entity_provenance":{"type":"object","properties":{"source_stage":{"type":"string","maxLength":64},"model":{"type":"string","maxLength":64},"run_id":{"type":"string","maxLength":64},"confidence":{"type":"string","enum":["low","medium","high"]}}}},"required":["shot_id","start_sec","end_sec"]}},"scenes":{"maxItems":400,"type":"array","items":{"type":"object","properties":{"scene_key":{"type":"string","minLength":1,"maxLength":64},"title":{"type":"string","maxLength":2000},"summary":{"type":"string","maxLength":2000},"director_intent":{"type":"string","maxLength":2000},"performance_arc":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"editing_arc":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"camera_performance_arc":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"entity_provenance":{"type":"object","properties":{"source_stage":{"type":"string","maxLength":64},"model":{"type":"string","maxLength":64},"run_id":{"type":"string","maxLength":64},"confidence":{"type":"string","enum":["low","medium","high"]}}}},"required":["scene_key"]}},"relations":{"maxItems":2400,"type":"array","items":{"type":"object","properties":{"from_shot_id":{"type":"string","minLength":1,"maxLength":32},"to_shot_id":{"type":"string","minLength":1,"maxLength":32},"relation_type":{"type":"string","maxLength":32},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["from_shot_id","to_shot_id"]}},"license_key":{"description":"License key NRC-XXXX-XXXX-XXXX-XXXX (optional — one free analysis per day works without one)","type":"string","pattern":"^NRC-[A-Z2-9]{4}(-[A-Z2-9]{4}){3}$"},"request_id":{"description":"Idempotency key (optional; same request_id never double-charges)","type":"string","maxLength":64}},"required":["film_manifest","shots","scenes","relations"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"convert_fountain","description":"Convert between Narracore screenplay blocks and Fountain (the plain-text screenplay interchange format). direction=\"to_fountain\": screenplay (input_format=\"text\" or \"blocks\") → Fountain text (Latin content upper-cased per convention, CJK preserved verbatim; notes as [[…]]). direction=\"from_fountain\": Fountain text → typed blocks you can pass straight to format_screenplay (input_format=\"blocks\") — supports scene headings (INT/EXT/EST/I/E), character cues with (V.O.)-style extensions (extension becomes the delivery hint), parentheticals, dialogue, TO: transitions, > forced transitions, . forced action, [[notes]]; boneyard /*…*/ is stripped and reported, title-page keys and # section headers are skipped with warnings; mostly-Chinese content falls back to the Chinese screenplay parser (Fountain rules target Latin scripts). One credit covers one screenplay for 24 hours across the screenplay tools — converting and then formatting the same screenplay charges once. Failed calls are never charged. 剧本块与 Fountain 格式互转；同一份剧本 24 小时内多工具只扣一次。","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"direction":{"type":"string","enum":["to_fountain","from_fountain"],"description":"to_fountain: screenplay → Fountain text. from_fountain: Fountain text → typed blocks."},"input_format":{"description":"to_fountain only: screenplay source format","type":"string","enum":["text","blocks"]},"text":{"description":"to_fountain only: raw screenplay text (input_format=\"text\")","type":"string","minLength":1,"maxLength":200000},"blocks":{"description":"to_fountain only: typed blocks (input_format=\"blocks\")","maxItems":2000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":64},"type":{"type":"string","enum":["scene_heading","action","character","parenthetical","dialogue","transition","shot","note"]},"text":{"type":"string"},"speaker":{"type":"string","maxLength":64},"delivery":{"type":"string","maxLength":120},"scene_number":{"type":"string","maxLength":16},"location":{"type":"string","maxLength":120},"time_of_day":{"type":"string","maxLength":16}},"required":["type"]}},"fountain":{"description":"from_fountain only: the Fountain source text","type":"string","minLength":1,"maxLength":200000},"license_key":{"description":"License key NRC-XXXX-XXXX-XXXX-XXXX (optional — free daily quota works without one)","type":"string","pattern":"^NRC-[A-Z2-9]{4}(-[A-Z2-9]{4}){3}$"},"request_id":{"description":"Idempotency key (optional)","type":"string","maxLength":64}},"required":["direction"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"diagnose_scenes","description":"Scene-level \"shootability\" diagnosis for a screenplay, using the same ai-2.0 rules as narracore.cn: YOU (the calling AI) cite the evidence, the server validates it and computes the score — no LLM on the server. Two steps: (1) mode=\"material\" (FREE) returns each scene as a numbered block list ([n] [type] text), the strict findings JSON schema, and 6 problem types (abstract_psychology, literary_summary, unfilmable_information, unclear_space, weak_visible_action, unplayable_direction); (2) after analyzing the material yourself, call mode=\"score\" with findings=[{scene, summary, problems:[{type, severity(low|medium|high), evidence (verbatim quote from the material), blocks (ordinals), suggestion}]}]. The server maps ordinals to blocks, drops any finding whose evidence cannot be verified (that scene then scores null — never faked), and computes each scene's 0-100 score (severity-weighted evidence coverage, exact arithmetic) plus a reference-only structural baseline. One credit covers one screenplay for 24 hours across the screenplay tools. Failed calls are never charged. 剧本逐场影视化度诊断：AI 举证、程序算分（0-100，证据核验，无效即空不冒充）。","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"input_format":{"description":"text (default): line-based screenplay text. blocks: typed blocks (e.g. from format_screenplay).","type":"string","enum":["text","blocks"]},"text":{"type":"string","minLength":1,"maxLength":200000},"blocks":{"maxItems":2000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":64},"type":{"type":"string","enum":["scene_heading","action","character","parenthetical","dialogue","transition","shot","note"]},"text":{"type":"string"},"speaker":{"type":"string","maxLength":64},"delivery":{"type":"string","maxLength":120},"scene_number":{"type":"string","maxLength":16},"location":{"type":"string","maxLength":120},"time_of_day":{"type":"string","maxLength":16}},"required":["type"]}},"mode":{"type":"string","enum":["material","score"],"description":"material (free): numbered scene material + schema. score: submit findings, server validates and scores."},"scenes":{"description":"material mode only: scene numbers (1-based) to render; default all","maxItems":200,"type":"array","items":{"type":"integer","minimum":1,"maximum":9007199254740991}},"findings":{"description":"score mode only: your per-scene findings","maxItems":200,"type":"array","items":{"type":"object","properties":{"scene":{"type":"integer","minimum":1,"maximum":9007199254740991,"description":"Scene number as returned by mode=\"material\""},"summary":{"type":"string","maxLength":400,"description":"Your 1-2 sentence summary of the scene"},"problems":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"type":{"type":"string","maxLength":64,"description":"One of the 6 problem types from mode=\"material\""},"severity":{"type":"string","maxLength":16,"description":"low | medium | high"},"evidence":{"type":"string","maxLength":400,"description":"Verbatim quote from the scene material"},"blocks":{"description":"Block ordinals [n] the evidence came from","maxItems":8,"type":"array","items":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"suggestion":{"type":"string","maxLength":400}},"required":["type","severity","evidence"]},"description":"Problems you found, with verbatim evidence"}},"required":["scene","summary","problems"]}},"license_key":{"description":"License key NRC-XXXX-XXXX-XXXX-XXXX (optional — free daily quota works without one)","type":"string","pattern":"^NRC-[A-Z2-9]{4}(-[A-Z2-9]{4}){3}$"},"request_id":{"description":"Idempotency key (optional)","type":"string","maxLength":64}},"required":["mode"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"format_screenplay","description":"Convert raw or loosely formatted screenplay text (Chinese, English, or mixed) into professionally structured screenplay blocks and a print-ready PDF using a fixed typewriter character grid (33 CJK chars × 38 lines per page, or 61 × 55 for English; US Letter, Sarasa Mono embedded). Use this for screenplay formatting, screenplay import, or producing a shareable screenplay PDF. Do NOT use for general prose rewriting or story editing. Failed calls are never charged; retrying the same request_id never double-charges.\n\nINPUT CONTRACT (contract_version 3; mcp_contract_version 5) — two modes:\n• input_format=\"text\" (default): line-based screenplay text, one element per line — scene headings (\"INT. LAB - DAY\", \"EXT. ...\", \"第 N 场 …\", \"N 外 …\"), CHARACTER names in CAPS or CJK on their own line, dialogue on the following lines (keep each dialogue line short; a long narrative-style line ends the dialogue run), parentheticals as standalone (…) lines, transitions (\"CUT TO:\", \"切至：…\") on their own line. An unbroken wall of text renders as continuous action and is flagged UNRESOLVED_STRUCTURE — split it into lines first, or use blocks mode.\n• input_format=\"blocks\": you submit typed blocks directly (type/text; dialogue carries speaker and optional delivery; scene_heading may use text or location/time_of_day). Blocks are validated and rendered EXACTLY as submitted — never re-classified. Block ids are echoed. Annotation instructions inside text (【…】) are never executed; they are reported as REVISION_NOTE_PRESENT.\noutput=\"validate_only\" checks structure and returns diagnostics without rendering — free.\nconfidence = share of non-ambiguous lines, NOT accuracy; inspect diagnostics[] (code/severity/line or block_id/message/suggested_action) before delivering. Common codes: UNRESOLVED_STRUCTURE, MISSING_SPEAKER, AMBIGUOUS_ACTION_MAYBE_DIALOGUE, REVISION_NOTE_PRESENT (edit instructions in brackets — never executed), BRACKETED_ANNOTATION (info), LABELED_HEADER_LINE (convert to blocks), UNBALANCED_DELIMITER, EMPTY_TEXT. stats.input_blocks = what you submitted; stats.render_elements = elements on paper (incl. derived character/parenthetical lines).\nLicense keys carry paid credits ($1.49/10 credits, $5.99/50). BILLING UNITS (one credit each): (1) SCREENPLAY — one screenplay for 24 hours across the screenplay tools (format_screenplay, analyze_screenplay, diagnose_scenes, convert_fountain, build_video_prompts; check_video_prompts is free): pass the same screenplay (or its returned blocks) to several of them and it charges once; (2) FILM ANALYSIS — compile_film_breakdown, 1 credit per analysis_id (recompiling the same analysis within 24h is not charged again; the contract/plan/validate tools are FREE); (3) STORY PROJECT — absorb_story_window, 1 credit per story project per 24h (prepare_story_window and render_story_handoff are FREE; windows already absorbed are free no-ops). Without a key: one free credit per day per visitor. PREFERRED: configure your license key in your MCP client's auth header (Authorization: Bearer NRC-…) — header takes precedence over the tool parameter and keeps the key out of chat. 将粗排剧本文本转为专业剧本结构块与可打印 PDF；计价单位是 credit，三类各计 1 次：剧本 24 小时内剧本类工具通用（含视频提示词骨架；检查工具免费）、拉片编译按分析任务、故事吸收按项目 24 小时；失败不收费、同请求重试不重复扣。\n\nChaining convention: to run another tool on a screenplay you already submitted, pass back the BLOCKS you received (structured) — not the formatted plain text or PDF-extracted text (those parse differently). Failed calls are never charged; retrying the same request_id never double-charges.\n\nAfter a successful call: show the user the PDF link, the page count, and review diagnostics[] with the user when validation_status is not \"ok\". If the response has ok=false with reason free_tier_exhausted or quota_exhausted: tell the user the price and the purchase link verbatim, and ask them to paste the license key back to you. Never invent a license key.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"input_format":{"description":"text (default): line-based screenplay text parsed server-side. blocks: submit typed blocks directly — validated and rendered as-is, never re-classified.","type":"string","enum":["text","blocks"]},"text":{"description":"Raw screenplay text, one element per line (required when input_format=\"text\")","type":"string","minLength":1,"maxLength":200000},"blocks":{"description":"Typed blocks (required when input_format=\"blocks\")","maxItems":2000,"type":"array","items":{"type":"object","properties":{"id":{"description":"Your id for this block; echoed in output","type":"string","maxLength":64},"type":{"type":"string","enum":["scene_heading","action","character","parenthetical","dialogue","transition","shot","note"]},"text":{"description":"Block text (scene_heading may omit it if location/time_of_day given)","type":"string"},"speaker":{"description":"dialogue: speaker name; a character line is derived when rendering","type":"string","maxLength":64},"delivery":{"description":"dialogue: delivery hint, rendered as a parenthetical before the line","type":"string","maxLength":120},"scene_number":{"type":"string","maxLength":16},"location":{"type":"string","maxLength":120},"time_of_day":{"type":"string","maxLength":16}},"required":["type"]}},"license_key":{"description":"License key NRC-XXXX-XXXX-XXXX-XXXX (optional — free daily quota works without one)","type":"string","pattern":"^NRC-[A-Z2-9]{4}(-[A-Z2-9]{4}){3}$"},"request_id":{"description":"Idempotency key (optional)","type":"string","maxLength":64},"content_language":{"description":"Content language (default: auto-detect)","type":"string","enum":["zh","en","auto"]},"output":{"description":"pdf_and_blocks (default) / blocks_only / validate_only (free structure check, no render)","type":"string","enum":["pdf_and_blocks","blocks_only","validate_only"]},"cover":{"description":"Cover page fields — any field present adds a cover page (not counted in page numbers); date defaults to today (UTC) when omitted","type":"object","properties":{"title":{"type":"string"},"author":{"type":"string"},"date":{"type":"string"},"version":{"type":"string"}}},"header":{"description":"Explicit running header (overrides the default page-number line): field values come from cover; missing fields are skipped; page_number renders N/M at the right edge","type":"object","properties":{"items":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"string","enum":["title","author","date","version","page_number"]}}},"required":["items"]},"footer":{"description":"Explicit footer (centered below the text box); same value resolution as header","type":"object","properties":{"items":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"string","enum":["title","author","date","version","page_number"]}}},"required":["items"]}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"get_film_contract","description":"FREE. Return the Narracore Film Contract by section — the protocol that lets ANY vision-capable agent turn its own observation of a film into a stable, comparable, traceable Film IR (shot/scene/relation), validated and compiled by this server. The video NEVER leaves your machine: you observe and reason with your own models, this server provides the shared language and the deterministic toolchain. section=\"core\" (default): pipeline, entities, the window protocol for long takes, observability levels (observed/mixed/inferred), entity-level provenance, limits. \"vocabulary\": the closed vocabularies + alias table (normalization is exact→alias→reject — no fuzzy guessing). \"observation_guidance\": the observation prompt template + how to write interpretive fields. \"reasoning_guidance\": the dramatic-layer/scene/relation prompt + the Q&A playbook for answering questions from the compiled result. \"media_recipe\": reference ffmpeg recipes (a platform adapter example — not authoritative output). 免费下发的影视拉片契约：分类词表、观察/推理提示词、窗口协议、问答 playbook 与备料配方示例。","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"section":{"description":"Contract section to return (default: core)","type":"string","enum":["core","vocabulary","observation_guidance","reasoning_guidance","media_recipe"]},"film_schema_version":{"description":"Request a specific film schema version (default: current)","type":"string","maxLength":16}},"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"plan_film_analysis","description":"FREE deterministic. Turn shot-cut timestamps into the analysis topology every Film Protocol agent shares: numbered base shots (shot-000001), long-take windowing (shot-000017-w01of03 when a shot exceeds the profile cap), and greedy analysis units (≤20s / ≤8 shots per unit by default). Pass duration_sec + the cut timestamps you detected locally (e.g. ffmpeg scene filter, threshold 0.30 — see get_film_contract section=\"media_recipe\"); you get back windows and units carrying both source-relative and clip-relative times to cut your analysis clips and label your observations with. No ffmpeg commands are returned (execution is your platform's business). 免费：切镜时间点 → 统一分析拓扑（长镜开窗 + ≤20s/≤8 镜单元）。","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"duration_sec":{"type":"number","exclusiveMinimum":0,"description":"Total duration of the film/video in seconds"},"cut_timestamps":{"maxItems":4000,"type":"array","items":{"type":"number"},"description":"Shot-cut timestamps in seconds (ascending; 0 and duration are implied)"}},"required":["duration_sec","cut_timestamps"],"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"prepare_story_window","description":"FREE. Split a story conversation (verbatim user/assistant turns) into stable, hash-anchored units for the Narracore Story Continuity Protocol. YOU judge the story; the server only slices and anchors provenance — a source is traceable, not proof your interpretation is true. Keep the full text and returned StoryState client-side (server stores nothing); failed calls are never charged. 免费：故事窗口确定性切分与锚定；AI 判断、服务端只核验出处，出处不证明结论真伪；全文与 state 由调用方保存，失败不收费。","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"conversation":{"minItems":1,"maxItems":4000,"type":"array","items":{"type":"object","properties":{"role":{"type":"string","enum":["user","assistant"]},"text":{"type":"string"}},"required":["role","text"],"additionalProperties":false}},"state":{"type":"object","properties":{"schema_version":{"type":"string","const":"v1"},"project_token":{"type":"string","minLength":1,"maxLength":256},"canon_tail":{"type":"string","maxLength":16000},"bible":{"maxItems":2000,"type":"array","items":{"type":"object","properties":{"entry_id":{"type":"string","minLength":1,"maxLength":128},"kind":{"type":"string","minLength":1,"maxLength":128},"text":{"type":"string","minLength":1},"sources":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"window_fp":{"type":"string","pattern":"^sw-v1:[a-f0-9]{64}$"},"unit_id":{"type":"string","minLength":1,"maxLength":128},"quote":{"type":"string","minLength":1}},"required":["window_fp","unit_id","quote"],"additionalProperties":false}}},"required":["entry_id","kind","text","sources"],"additionalProperties":false}},"archive":{"maxItems":4000,"type":"array","items":{"type":"object","properties":{"entry":{"type":"object","properties":{"entry_id":{"type":"string","minLength":1,"maxLength":128},"kind":{"type":"string","minLength":1,"maxLength":128},"text":{"type":"string","minLength":1},"sources":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"window_fp":{"type":"string","pattern":"^sw-v1:[a-f0-9]{64}$"},"unit_id":{"type":"string","minLength":1,"maxLength":128},"quote":{"type":"string","minLength":1}},"required":["window_fp","unit_id","quote"],"additionalProperties":false}}},"required":["entry_id","kind","text","sources"],"additionalProperties":false},"reason":{"type":"string","enum":["superseded","archived"]},"source":{"type":"object","properties":{"window_fp":{"type":"string","pattern":"^sw-v1:[a-f0-9]{64}$"},"unit_id":{"type":"string","minLength":1,"maxLength":128},"quote":{"type":"string","minLength":1}},"required":["window_fp","unit_id","quote"],"additionalProperties":false},"replacement_id":{"type":"string","minLength":1,"maxLength":128}},"required":["entry","reason"],"additionalProperties":false}},"absorbed_window_fps":{"maxItems":1024,"type":"array","items":{"type":"string","pattern":"^sw-v1:[a-f0-9]{64}$"}}},"required":["schema_version","project_token","canon_tail","bible","archive","absorbed_window_fps"],"additionalProperties":false},"lang":{"default":"en","type":"string","enum":["zh","en"]},"request_id":{"description":"Idempotency key (optional; same request_id never double-charges)","type":"string","maxLength":64}},"required":["conversation"],"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false}},{"name":"render_story_handoff","description":"FREE. Render a StoryState into a zh/en handoff document (recent-canon window + bible) for a successor writer/AI. The server formats the state you SUPPLY — project_token proves identity only, not that the state content is authentic or current. Keep the full text client-side; failed calls are never charged. 免费：把调用方提供的 StoryState 排成交接文档；token 仅证身份、不证明 state 内容真实或最新；失败不收费。","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"state":{"type":"object","properties":{"schema_version":{"type":"string","const":"v1"},"project_token":{"type":"string","minLength":1,"maxLength":256},"canon_tail":{"type":"string","maxLength":16000},"bible":{"maxItems":2000,"type":"array","items":{"type":"object","properties":{"entry_id":{"type":"string","minLength":1,"maxLength":128},"kind":{"type":"string","minLength":1,"maxLength":128},"text":{"type":"string","minLength":1},"sources":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"window_fp":{"type":"string","pattern":"^sw-v1:[a-f0-9]{64}$"},"unit_id":{"type":"string","minLength":1,"maxLength":128},"quote":{"type":"string","minLength":1}},"required":["window_fp","unit_id","quote"],"additionalProperties":false}}},"required":["entry_id","kind","text","sources"],"additionalProperties":false}},"archive":{"maxItems":4000,"type":"array","items":{"type":"object","properties":{"entry":{"type":"object","properties":{"entry_id":{"type":"string","minLength":1,"maxLength":128},"kind":{"type":"string","minLength":1,"maxLength":128},"text":{"type":"string","minLength":1},"sources":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"window_fp":{"type":"string","pattern":"^sw-v1:[a-f0-9]{64}$"},"unit_id":{"type":"string","minLength":1,"maxLength":128},"quote":{"type":"string","minLength":1}},"required":["window_fp","unit_id","quote"],"additionalProperties":false}}},"required":["entry_id","kind","text","sources"],"additionalProperties":false},"reason":{"type":"string","enum":["superseded","archived"]},"source":{"type":"object","properties":{"window_fp":{"type":"string","pattern":"^sw-v1:[a-f0-9]{64}$"},"unit_id":{"type":"string","minLength":1,"maxLength":128},"quote":{"type":"string","minLength":1}},"required":["window_fp","unit_id","quote"],"additionalProperties":false},"replacement_id":{"type":"string","minLength":1,"maxLength":128}},"required":["entry","reason"],"additionalProperties":false}},"absorbed_window_fps":{"maxItems":1024,"type":"array","items":{"type":"string","pattern":"^sw-v1:[a-f0-9]{64}$"}}},"required":["schema_version","project_token","canon_tail","bible","archive","absorbed_window_fps"],"additionalProperties":false},"direction":{"type":"string","maxLength":8000},"lang":{"default":"en","type":"string","enum":["zh","en"]},"recent_chars":{"default":9000,"type":"integer","minimum":0,"maximum":16000},"request_id":{"description":"Idempotency key (optional; same request_id never double-charges)","type":"string","maxLength":64}},"required":["state"],"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false}},{"name":"validate_film_breakdown","description":"FREE preflight for a film breakdown payload (film_manifest + shots + scenes + relations). Checks the contract WITHOUT watching anything: schema shape, closed vocabularies (exact→alias→reject), cross-references (shot ids, scene membership, relation endpoints), window topology (a long take's windows must be complete), provenance shape, and observability metadata only — it never judges whether an observation is TRUE (the server cannot see your video). Lossless representation fixes (alias/trim/wrap) are returned as normalized_patch; semantic problems are errors for YOU to fix, with retry_feedback to feed back to your model. This is advisory: compile_film_breakdown re-validates authoritatively. 免费预检：契约/词表/交叉引用/窗口拓扑校验，只修表示层、绝不代改语义；编译前先跑它可省一次失败往返。","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"film_manifest":{"type":"object","properties":{"media_id":{"type":"string","pattern":"^[0-9a-f]{64}$"},"duration_sec":{"type":"number","exclusiveMinimum":0,"maximum":28800},"cut_timestamps":{"maxItems":4000,"type":"array","items":{"type":"number"}}},"required":["media_id","duration_sec","cut_timestamps"]},"shots":{"minItems":1,"maxItems":2400,"type":"array","items":{"type":"object","properties":{"shot_id":{"type":"string","minLength":1,"maxLength":32},"start_sec":{"type":"number"},"end_sec":{"type":"number"},"scene_grammar":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"objective_layer":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"temporal_layer":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"spatial_layer":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"performance_layer":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"audio_observation":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"prompt_reverse_fields":{},"transfer_profile":{},"tags":{},"scene_key":{"type":"string","maxLength":64},"scene_boundary_before":{"type":"boolean"},"dramatic_layer":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"entity_provenance":{"type":"object","properties":{"source_stage":{"type":"string","maxLength":64},"model":{"type":"string","maxLength":64},"run_id":{"type":"string","maxLength":64},"confidence":{"type":"string","enum":["low","medium","high"]}}}},"required":["shot_id","start_sec","end_sec"]}},"scenes":{"maxItems":400,"type":"array","items":{"type":"object","properties":{"scene_key":{"type":"string","minLength":1,"maxLength":64},"title":{"type":"string","maxLength":2000},"summary":{"type":"string","maxLength":2000},"director_intent":{"type":"string","maxLength":2000},"performance_arc":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"editing_arc":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"camera_performance_arc":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"entity_provenance":{"type":"object","properties":{"source_stage":{"type":"string","maxLength":64},"model":{"type":"string","maxLength":64},"run_id":{"type":"string","maxLength":64},"confidence":{"type":"string","enum":["low","medium","high"]}}}},"required":["scene_key"]}},"relations":{"maxItems":2400,"type":"array","items":{"type":"object","properties":{"from_shot_id":{"type":"string","minLength":1,"maxLength":32},"to_shot_id":{"type":"string","minLength":1,"maxLength":32},"relation_type":{"type":"string","maxLength":32},"details":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["from_shot_id","to_shot_id"]}}},"required":["film_manifest","shots","scenes","relations"],"$schema":"http://json-schema.org/draft-07/schema#"}}],"scan":{"score":79,"grade":"B","scanned_at":"2026-09-19T09:54:48.875Z","report":{"scannerVersion":"0.1.3","scannedAt":"2026-09-19T09:54:48.840Z","components":{"code":{"score":-1,"max":25,"notes":["remote-only server, no package to scan"]},"reliability":{"score":20,"max":20,"notes":["remote reachable in 1885ms"]},"poisoning":{"score":13,"max":15,"notes":["14 tool descriptions checked"]},"auth":{"score":8,"max":15,"notes":["API key sent as a header"]},"maintenance":{"score":15,"max":15,"notes":["last push 1 days ago"]},"identity":{"score":3,"max":10,"notes":["namespace and repository owner differ"]}},"findings":[{"id":"poison.long-description","severity":"low","component":"poisoning","title":"Unusually long tool description (over 2,000 characters)","evidence":"tool format_screenplay: …Convert raw or loosely formatted screenplay text (Chinese, English, or mixed) into professionally structured screenplay blocks and a print-ready PDF using a fixed typewriter character grid (33 CJK chars × 38 lines per page, or 61 × 55 for English; US Letter, Sarasa Mono embedded). Use this for screenplay formatting, screenplay import, or producing a shareable screenplay PDF. Do NOT use for general prose rewriting or story editing. Failed calls are never charged; retrying the same request_id never double-charges. INPUT CONTRACT (contract_version 3; mcp_contract_version 5) — two modes: • input_format=\"text\" (default): line-based screenplay text, one element per line — scene headings (\"INT. LAB - DAY\", \"EXT. ...\", \"第 N 场 …\", \"N 外 …\"), CHARACTER names in CAPS or CJK on their own line, dialogue on the following lines (keep each dialogue line short; a long narrative-style line ends the dialogue run), parentheticals as standalone (…) lines, transitions (\"CUT TO:\", \"切至：…\") on their own line. An unbroken wall of text renders as continuous action and is flagged UNRESOLVED_STRUCTURE — split it into lines first, or use blocks mode. • input_format=\"blocks\": you submit typed blocks directly (type/text; dialogue carries speaker and optional delivery; scene_heading may use text or location/time_of_day). Blocks are validated and rendered EXACTLY as submitted — never re-classified. Block ids are echoed. Annotation instructions inside text (【…】) are never executed; they are reported as REVISION_NOTE_PRESENT. output=\"validate_only\" checks structure and returns diagnostics without rendering — free. confidence = share of non-ambiguous lines, NOT accuracy; inspect diagnostics[] (code/severity/line or block_id/message/suggested_action) before delivering. Common codes: UNRESOLVED_STRUCTURE, MISSING_SPEAKER, AMBIGUOUS_ACTION_MAYBE_DIALOGUE, REVISION_NOTE_PRESENT (edit instructions in brackets — never executed), BRACKETED_ANNOTATION (info), LABELED_HEADER_LINE (convert to blocks), UNBALANCED_DELIMITER, EMPTY_TEXT. stats.input_blocks = what you submitted; stats.render_elements = elements on paper (incl. derived character/parenthetical lines). License keys carry paid credits ($1.49/10 credits, $5.99/50). BILLING UNITS (one credit each): (1) SCREENPLAY — one screenplay for 24 hours across the screenplay tools (format_screenplay, analyze_screenplay, diagnose_scenes, convert_fountain, build_video_prompts; check_video_prompts is free): pass the same screenplay (or its returned blocks) to several of them and it charges once; (2) FILM ANALYSIS — compile_film_breakdown, 1 credit per analysis_id (recompiling the same analysis within 24h is not charged again; the contract/plan/validate tools are FREE); (3) STORY PROJECT — absorb_story_window, 1 credit per story project per 24h (prepare_story_window and render_story_handoff are FREE; windows already absorbed are free no-ops). Without a key: one free credit per day per visitor. PREFERRED: configure your license key in your MCP client's auth header (Authorization: Bearer NRC-…) — header takes precedence over the tool parameter and keeps the key out of chat. 将粗排剧本文本转为专业剧本结构块与可打印 PDF；计价单位是 credit，三类各计 1 次：剧本 24 小时内剧本类工具通用（含视频提示词骨架；检查工具免费）、拉片编译按分析任务、故事吸收按项目 24 小时；失败不收费、同请求重试不重复扣。 Chaining convention: to run another tool on a screenplay you already submitted, pass back the BLOCKS you received (structured) — not the formatted plain text or PDF-extracted text (those parse differently). Failed calls are never charged; retrying the same request_id never double-charges. After a successful call: show the user the PDF link, the page count, and review diagnostics[] with the user when validation_status is not \"ok\". If the response has ok=false with reason free_tier_exhausted or quota_exhausted: tell the user the price and the purchase link verbatim, and ask them to paste the license key back to you. Never invent a license key.…"}],"inputs":{"probes":[{"url":"https://mcp.narracore.app/mcp","reachable":true,"authRequired":false,"latencyMs":1885,"serverInfo":{"name":"narracore-screenplay-formatter","version":"1.3.0"}}],"packages":[],"repo":{"found":true,"owner":"xiaoanran0602-pixel","repo":"narracore-mcp-public","archived":false,"pushedAt":"2026-09-18T09:18:05Z","stars":0,"forks":0,"openIssues":0,"ownerType":"User","ownerAvatarUrl":"https://avatars.githubusercontent.com/u/233399544?v=4","ownerCreatedAt":"2025-09-20T06:25:00Z","license":"CC-BY-4.0"},"icon":{"url":"https://avatars.githubusercontent.com/u/233399544?v=4&s=128","source":"github"},"presence":{"stars":0,"forks":0,"downloadsWeek":null,"license":"CC-BY-4.0","lastPushAt":"2026-09-18T09:18:05.000Z","score":23}}}},"grade_history":[],"reviews":[]}