Skip to main content
Glama

asksteps: read one funnel with its branching

asksteps_get_funnel
Read-onlyIdempotent

Reads one funnel of the connected asksteps account: its questions, answers and where each answer leads. Requires "forms:read". ALWAYS call this before asksteps_update_funnel — the write replaces every question, so you need the current state to keep what you are not changing. If the id turns out to be a flat form, the answer says so and points you at asksteps_get_form.

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": {
      "funnel_id": "<funnel_id>"
    },
    "name": "asksteps_get_funnel"
  }
}

Input Schema

NameRequiredDescriptionDefault
funnel_idYesThe funnel id, as returned by asksteps_list_forms.

Output Schema

NameRequiredDescriptionDefault
nameNoThe name of the funnel as the customer sees it in their account.
noteYesOne sentence for the user, explaining the outcome and what to do next.
specNoThe structure of the funnel, in the same shape asksteps_update_funnel expects.
statusYesOutcome. One of: "ok", "not_connected", "not_found", "not_a_funnel" (this is a flat form — use asksteps_get_form instead), "error". Authorisation can also refuse before the tool runs: "plan_required" (the account's plan does not include agent access), "not_enabled" (the account owner has not switched agent access on), "permission_denied" (the connected user's role lacks the permission; the note names it), "mandate_required" (the owner has not granted a mandate for this). The note then says what the user has to do.
editableNoWhether asksteps_update_funnel may write this funnel back. When false, DO NOT try — it contains things this format cannot describe, and writing would delete them.
funnelIdNoThe id of the funnel, to pass back to asksteps_update_funnel.
blockedByNoWhy writing is blocked, in one sentence. Empty when editable.
themeCustomizedNoTrue when the funnel uses a hand-built design instead of one of the shipped designs or one of the account's own designs; the themeId then does NOT describe what the user sees. False for an own design ("design-<number>"): that id describes it.
screensBlockedByNoWhy the intro/success/dismiss pages must not be sent back. Empty when they may be.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedOutput schema / properties / spec / properties / nodes / items / properties / answers / items / properties / type / description
      Previous value: -"Field type. One of: \"text\" (single line), \"text-area\" (multi-line), \"number\", \"date\", \"time\", \"select\" (dropdown, needs options), \"checkbox-group\" (choice group, needs options; one or several answers, see Selection), \"boolean\" (single yes/no checkbox), \"file\" (upload), \"signature\" (drawn signature), \"image-upload\" (the visitor uploads one photo, e.g. a passport photo), \"contact\" (the built-in contact block: name, email, phone — use this instead of building those three by hand), \"text-block\" (explanatory text, not an input), \"table\" (a grid to fill in), \"image-choice\" (a picture to pick), \"image\", \"video\"."New value: +"Field type. One of: \"text\" (single line), \"text-area\" (multi-line), \"number\", \"date\", \"time\", \"select\" (dropdown, needs options), \"checkbox-group\" (choice group, needs options; one or several answers, see Selection), \"boolean\" (single yes/no checkbox), \"file\" (upload), \"signature\" (drawn signature), \"image-upload\" (the visitor uploads one photo, e.g. a passport photo), \"contact\" (the built-in contact block: name, email, phone — use this instead of building those three by hand), \"text-block\" (explanatory text, not an input), \"table\" (a grid to fill in), \"image-choice\" (a picture to pick), \"image\", \"video\". Two more element types exist but are set only in the asksteps studio: appointment booking and custom HTML. A form that contains one of them can be read here but not written (\"editable\" is false and \"blockedBy\" says why)."
    • changedOutput schema / properties / spec / properties / themeId / description
      Previous value: -"Design preset id, e.g. \"classic\" or \"midnight\". Call asksteps_list_themes for the list. Leave empty to keep the current design (or the default on a new funnel)."New value: +"Design id. The designs shipped with the product (e.g. \"classic\" or \"midnight\") are listed by asksteps_list_themes; the account's own designs (\"design-<number>\") by asksteps_list_designs. Leave empty to keep the current design (or the default on a new funnel). An unknown id is rejected — it is never silently replaced by the default."
    • changedOutput schema / properties / themeCustomized / description
      Previous value: -"True when the funnel uses a hand-built design instead of one of the presets."New value: +"True when the funnel uses a hand-built design instead of one of the shipped designs or one of the account's own designs; the themeId then does NOT describe what the user sees. False for an own design (\"design-<number>\"): that id describes it."
  2. Changed1 schema field changed
    • changedOutput schema / properties / status / description
      Previous value: -"Outcome. One of: \"ok\", \"not_connected\", \"not_found\", \"not_a_funnel\" (this is a flat form — use asksteps_get_form instead), \"error\". Authorisation can also refuse before the tool runs: \"plan_required\" (the account's plan does not include agent access), \"not_enabled\" (the account owner has not switched agent access on), \"owner_required\" (only the account owner may do this), \"mandate_required\" (the owner has not granted a mandate for this). The note then says what the user has to do."New value: +"Outcome. One of: \"ok\", \"not_connected\", \"not_found\", \"not_a_funnel\" (this is a flat form — use asksteps_get_form instead), \"error\". Authorisation can also refuse before the tool runs: \"plan_required\" (the account's plan does not include agent access), \"not_enabled\" (the account owner has not switched agent access on), \"permission_denied\" (the connected user's role lacks the permission; the note names it), \"mandate_required\" (the owner has not granted a mandate for this). The note then says what the user has to do."
  3. Changed3 schema fields changed
    • addedOutput schema / properties / spec / properties / nodes / items / properties / answers / items / properties / display
      Added value: +{
      +  "description": "For \"checkbox-group\": \"list\" (options listed one below the other, the default) or \"dropdown\" (a dropdown showing the picked options as tags). Optional.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / spec / properties / nodes / items / properties / answers / items / properties / selection
      Added value: +{
      +  "description": "For \"checkbox-group\": \"single\" (exactly one option may be picked, e.g. yes/no, gender, a membership class) or \"multiple\" (any number, the default). Optional.",
      +  "type": "string"
      +}
    • changedOutput schema / properties / spec / properties / nodes / items / properties / answers / items / properties / type / description
      Previous value: -"Field type. One of: \"text\" (single line), \"text-area\" (multi-line), \"number\", \"date\", \"time\", \"select\" (dropdown, needs options), \"checkbox-group\" (multiple choice, needs options), \"boolean\" (single yes/no checkbox), \"file\" (upload), \"signature\" (drawn signature), \"image-upload\" (the visitor uploads one photo, e.g. a passport photo), \"contact\" (the built-in contact block: name, email, phone — use this instead of building those three by hand), \"text-block\" (explanatory text, not an input), \"table\" (a grid to fill in), \"image-choice\" (a picture to pick), \"image\", \"video\"."New value: +"Field type. One of: \"text\" (single line), \"text-area\" (multi-line), \"number\", \"date\", \"time\", \"select\" (dropdown, needs options), \"checkbox-group\" (choice group, needs options; one or several answers, see Selection), \"boolean\" (single yes/no checkbox), \"file\" (upload), \"signature\" (drawn signature), \"image-upload\" (the visitor uploads one photo, e.g. a passport photo), \"contact\" (the built-in contact block: name, email, phone — use this instead of building those three by hand), \"text-block\" (explanatory text, not an input), \"table\" (a grid to fill in), \"image-choice\" (a picture to pick), \"image\", \"video\"."
  4. Changed1 schema field changed
    • changedOutput schema / properties / spec / properties / nodes / items / properties / answers / items / properties / type / description
      Previous value: -"Field type. One of: \"text\" (single line), \"text-area\" (multi-line), \"number\", \"date\", \"time\", \"select\" (dropdown, needs options), \"checkbox-group\" (multiple choice, needs options), \"boolean\" (single yes/no checkbox), \"file\" (upload), \"signature\" (drawn signature), \"contact\" (the built-in contact block: name, email, phone — use this instead of building those three by hand), \"text-block\" (explanatory text, not an input), \"table\" (a grid to fill in), \"image-choice\" (a picture to pick), \"image\", \"video\"."New value: +"Field type. One of: \"text\" (single line), \"text-area\" (multi-line), \"number\", \"date\", \"time\", \"select\" (dropdown, needs options), \"checkbox-group\" (multiple choice, needs options), \"boolean\" (single yes/no checkbox), \"file\" (upload), \"signature\" (drawn signature), \"image-upload\" (the visitor uploads one photo, e.g. a passport photo), \"contact\" (the built-in contact block: name, email, phone — use this instead of building those three by hand), \"text-block\" (explanatory text, not an input), \"table\" (a grid to fill in), \"image-choice\" (a picture to pick), \"image\", \"video\"."
  5. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and openWorldHint=false, so the safety profile is covered structurally. The description adds real value beyond that by stating the required scope ('forms:read'), warning that the sibling write replaces every question, and describing the self-describing fallback response when the id is not a funnel. It stops short of describing the shape of the returned branching data, but an output schema exists, so that omission is defensible.

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?

Three sentences, each doing distinct work: what it returns, the mandatory call ordering, and the wrong-resource fallback. Front-loading is good and there is no filler, though the ordering rule and the scope note compete slightly for the reader's attention in the middle of the block.

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 a single-parameter read tool with full schema coverage, annotations and an output schema, the description covers everything the agent needs: required permission, mandatory sequencing before the destructive sibling, and destination when the id does not match the resource type. No essential call-time information is missing.

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% and the single funnel_id parameter is already documented as coming from asksteps_list_forms, so the schema carries the parameter burden. The description adds only indirect context, noting that the id may turn out to identify a flat form, but gives no format or validation detail beyond the schema. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The definition opens with a specific verb and resource ('Reads one funnel') and immediately unpacks what the funnel contains: questions, answers, and branching ('where each answer leads'). It also distinguishes the resource from the sibling flat-form reader by naming asksteps_get_form as the fallback for non-funnel ids.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit pre-condition ('ALWAYS call this before asksteps_update_funnel') with the reason ('the write replaces every question, so you need the current state'), which is a when-to-use rule rather than a generic hint. It also routes the agent elsewhere when the id is a flat form, naming the exact sibling to use.

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