Übersicht

List goals

MCPlist_goals
READ$0.00003 / call
Features

The goals and funnels defined for this workspace, with what each one MATCHES. A goal is a named thing you want a reader to do; a funnel is an ordered list of goals. Free on every plan: defining measurement is not the paid part. Every project has the standing goal — be found, on Google and in AI answers (standing_goal here, be_found as a goal_key) — without declaring anything; these are the owner's EXTRAS, reader actions on the site.

Input1
Authorizationheaderrequired
Your API key, for the REST call. Sent from your browser straight to the API — never to Docsbook, never stored.
workspace_idstring
Workspace ID (optional when MCP endpoint is auto-scoped). Numeric workspace id — OR the project as the user names it: 'owner/repo', the repo name alone, the site's display name, its docs URL or custom domain. Text is resolved server-side; an ambiguous name returns the candidates instead of guessing, so pass what the user said rather than calling list_workspaces first.
Output4
workspace_idnumber
goalsobject[]
funnelsobject[]
max_funnel_stepsnumber
Use cases
  • Call this before creating anything — a goal whose name already exists is refused, and a funnel step refers to a goal by name.
Limitations
  • 🔴 AN EMPTY LIST IS NOT A MISSING GOAL.
  • Never ask the owner to declare a goal, and never create a page-view goal to stand in for being found: decompose the standing goal instead (list_opportunities, add_direction).
Example input
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_goals",
    "arguments": {}
  }
}
Example output
{
  "workspace_id": 0,
  "goals": [],
  "funnels": [],
  "max_funnel_steps": 0
}

Aktualisiert

War diese Seite hilfreich?