Tool Reference

Complete reference for all 13 Scope MCP tools.

All tools accept an optional project_id parameter. If omitted, Scope uses your most recent project.

Core Workflow

start_ticket

Start here. One call to get the next ticket, set it to in_progress, and receive entity context + learnings + git workflow.

ParameterTypeDescription
detail_levelstringminimal | standard (default) | full
project_idstringOptional project ID

complete_ticket

Mark a ticket as done and log work.

ParameterTypeDescription
summarystringWork summary
files_createdstring[]Files created
files_modifiedstring[]Files modified
learningsobject[]Patterns and gotchas discovered
skipbooleanSkip ticket (already done)
skip_reasonstringWhy ticket was skipped

Context & Search

get_context

Unified context retrieval. Comma-separate scopes for multiple.

ParameterTypeDescription
scopestringsummary, all, implementation,requirements, entities, entities:User+Card,tech_stack, api_design, pages,flows, schema

Example: get_context(scope: "entities:User+Order,tech_stack")

search

Semantic search across project context and learnings.

ParameterTypeDescription
querystringSearch query
typestringcontext | learnings | all
max_tokensnumberToken budget for results

Ticket Management

update_ticket

Unified ticket updates via action parameter.

ActionParameters
set_statusstatus: backlog | ready | in_progress | review | done
blockreason, blocker_type
unblockblocker_id
update_prbranch_name, pr_url

review_milestone

Analyze gaps in a milestone and suggest missing tickets.

Project & Learning

list

Unified listing by type.

TypeDescription
projectsAll your projects
milestonesProject milestones
ticketsMilestone tickets (pass ticket_id for full detail on a single ticket)
blockersBlocked tickets
workWork log entries
work_summaryAggregated work summary
patternsCaptured patterns and learnings

save_learning

Capture patterns, decisions, gotchas, and conventions for future reference.

ParameterTypeDescription
contentstringLearning content
memory_typestringpattern | gotcha | decision | convention
learningsobject[]Batch learnings
decisionsobject[]Architectural decisions

Analysis

analyze

Unified analysis by type.

TypeDescription
dependenciesDependency graph for a ticket
validate_depsCheck for cycles and dangling references
dependentsFind tickets that depend on this one
impactImpact analysis for a ticket
generate_change_setPreview cascading changes
approve_changesApprove proposed changes
apply_changesApply approved changes
generate_featureDescribe a feature in natural language, get a preview of proposed tickets
apply_featureCreate approved tickets from a feature preview

Feature generation flow

Two-step preview-then-apply workflow. Describe a feature, review the proposed tickets, then create only the ones you approve.

// Step 1: Generate a preview (tickets NOT yet created)
analyze(type: "generate_feature", description: "Add Facebook OAuth login")
→ Returns preview_id, proposed tickets, affected existing tickets, milestone detection

// Step 2: Apply approved tickets
analyze(type: "apply_feature", preview_id: "fp_xxx", approvals: { "0": true, "1": false })
→ Creates approved tickets, updates affected tickets
ParameterUsed byDescription
descriptiongenerate_featureFeature description in natural language
milestone_idgenerate_featureOptional hint for target milestone
preview_idapply_featurePreview ID from generate_feature
approvalsapply_featureMap of ticket index to boolean (default: all approved)

Project Setup

scope_discover

List projects and readiness status. With project_id: deep overview with milestones, tickets, sync status.

scope_init

Create a new project. Returns project_id + next action.

scope_sync

Bulk-sync local files to a project. Runs full V3 analysis (AST, schema, LLM). Incremental — skips unchanged files.

scope_sync_status

Poll background sync progress. Returns next action guiding through review when complete.

Detail levels

LevelTokensUse case
minimal~100Quick checks, simple tickets
standard~400Default — includes related entities and patterns
full~8KDeep inspection — all 31 fields