Skip to main content
Glama

Search Sections

search_sections
Read-only

Search Mobbin for website sections (e.g. About, Pricing, Footer) using natural language. Returns section images inline along with metadata. Examine the returned images to understand each section's actual content — do not describe or summarize sections based solely on metadata. Inline images are low-res previews for you to read, not for the user. Each result's image_url is the high-resolution image. Whenever the user wants to save, export, embed, or paste a result (files, Figma, Notion, docs, slides), download it from image_url instead of reusing the inline preview. Image URLs expire after 30 days, so download the file rather than linking to it; link to mobbin_url when citing. On hosts that support MCP Apps, also renders an interactive gallery of the results.

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": {
      "query": "<query>"
    },
    "name": "search_sections"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number for paginating through results.
limitNoMaximum number of sections to return. Higher number of sections returned causes increased context usage.
queryYesDescribe one website section in plain language: what kind of section it is ("pricing section", "footer"), with the kind of product when the user names one ("banking app", "developer tool"). The kind of product is part of the request, so include it in the query. Add content or an element only when the user asked for it or their problem depends on it: each one narrows the results. Good: "AI tools pricing section", "hero section with signup form". Avoid: combining multiple sections (search separately), elements the user didn't ask for ("pricing section with plan cards and an annual toggle"), vague style words, disconnected keyword lists.
output_toolNoThe product the results go into next, not a later step, if known, e.g. Figma, Paper, Notion. Product name only. When the results go into more than one product, name the one the user asked for first. Not the search source: Mobbin only when the results go back to Mobbin. Omit when unknown. MUST be the same across all calls for the same task.
task_intentNoOne short sentence summarizing the user's overall task. Helps return more relevant results. Write it in English even when the conversation is in another language. MUST be the same across all calls for the same task. Do NOT include verbatim user messages, conversation history, file contents, or personal data.
image_formatNoImage format. Use jpg if your client does not support webp.webp
output_destinationNoWhat you will do with the results after this call. Choose by what gets made with the results, not by the search itself. When the request does not say, go by where you are running: a coding agent in a repository means `code`, a design tool means `design_tool`, a plain chat host means `chat`. Helps return results in the form the workflow needs. `code`: implement or change UI in a codebase or coded prototype, also when looking up examples to base it on first, e.g. React, Swift, HTML/CSS, v0, Lovable. `design_tool`: recreate or put results on a design canvas, e.g. Figma, Paper, Pen.dev, MagicPath. `doc`: write a report, PRD, spec, audit or slides, e.g. in Notion, Google Docs or Slides. `reference_library`: only when saving is the ask: the user wants the results kept for later in a folder, notes or a Mobbin collection. Looking things up to build, design or write from is NOT this. `chat`: only answer in the conversation; the user has not asked you to build, design, write or save anything. `other`: an unlisted destination, none of the above, e.g. posting the results to Slack or email. MUST be the same across all calls for the same task.

Output Schema

NameRequiredDescriptionDefault
pageYes1-based page number of this batch of search results.
queryYesThe natural language query used for this search.
sectionsYes
has_next_pageYesWhether more pages of results are available.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / query / description
      Previous value: -"Describe one website section in plain language, starting with what kind of section it is (\"pricing section\", \"footer\"). Add content or an element only when the user asked for it or their problem depends on it: each one narrows the results. Good: \"pricing section\", \"hero section with signup form\". Avoid: combining multiple sections (search separately), elements the user didn't ask for (\"pricing section with plan cards and an annual toggle\"), vague style words, disconnected keyword lists."New value: +"Describe one website section in plain language: what kind of section it is (\"pricing section\", \"footer\"), with the kind of product when the user names one (\"banking app\", \"developer tool\"). The kind of product is part of the request, so include it in the query. Add content or an element only when the user asked for it or their problem depends on it: each one narrows the results. Good: \"AI tools pricing section\", \"hero section with signup form\". Avoid: combining multiple sections (search separately), elements the user didn't ask for (\"pricing section with plan cards and an annual toggle\"), vague style words, disconnected keyword lists."
  2. Changed1 schema field changed
    • changedInput schema / properties / query / description
      Previous value: -"Describe one website section in plain language — the content and elements you'd see. Be specific; detail helps. Good: \"pricing page with plan comparison table\", \"hero section with signup form\". Avoid: combining multiple sections (search separately), negations, vague style words, disconnected keyword lists."New value: +"Describe one website section in plain language, starting with what kind of section it is (\"pricing section\", \"footer\"). Add content or an element only when the user asked for it or their problem depends on it: each one narrows the results. Good: \"pricing section\", \"hero section with signup form\". Avoid: combining multiple sections (search separately), elements the user didn't ask for (\"pricing section with plan cards and an annual toggle\"), vague style words, disconnected keyword lists."
  3. Changed2 schema fields changed
    • changedInput schema / properties / output_destination / description
      Previous value: -"What you will do with the results after this call. Choose by what gets made with the results, not by the search itself. When the request does not say, go by where you are running: a coding agent in a repository means `code`, a design tool means `design_tool`, a plain chat host means `chat`. Helps return results in the form the workflow needs. `code`: implement or change UI in a codebase or coded prototype, e.g. React, Swift, HTML/CSS, v0, Lovable. `design_tool`: recreate or put results on a design canvas, e.g. Figma, Paper, Pen.dev, MagicPath. `doc`: write a report, PRD, spec, audit or slides, e.g. in Notion, Google Docs or Slides. `reference_library`: only when saving is the ask: the user wants the results kept for later in a folder, notes or a Mobbin collection. Looking things up to build, design or write from is NOT this. `chat`: only answer in the conversation; the user has not asked you to build, design, write or save anything. `other`: an unlisted destination, none of the above, e.g. posting the results to Slack or email. MUST be the same across all calls for the same task."New value: +"What you will do with the results after this call. Choose by what gets made with the results, not by the search itself. When the request does not say, go by where you are running: a coding agent in a repository means `code`, a design tool means `design_tool`, a plain chat host means `chat`. Helps return results in the form the workflow needs. `code`: implement or change UI in a codebase or coded prototype, also when looking up examples to base it on first, e.g. React, Swift, HTML/CSS, v0, Lovable. `design_tool`: recreate or put results on a design canvas, e.g. Figma, Paper, Pen.dev, MagicPath. `doc`: write a report, PRD, spec, audit or slides, e.g. in Notion, Google Docs or Slides. `reference_library`: only when saving is the ask: the user wants the results kept for later in a folder, notes or a Mobbin collection. Looking things up to build, design or write from is NOT this. `chat`: only answer in the conversation; the user has not asked you to build, design, write or save anything. `other`: an unlisted destination, none of the above, e.g. posting the results to Slack or email. MUST be the same across all calls for the same task."
    • changedInput schema / properties / output_tool / description
      Previous value: -"The product the results go into next, if known, e.g. Figma, Paper, Notion. Product name only. When the results go into more than one product, name the one the user asked for first. Not the search source: Mobbin only when the results go back to Mobbin. Omit when unknown. MUST be the same across all calls for the same task."New value: +"The product the results go into next, not a later step, if known, e.g. Figma, Paper, Notion. Product name only. When the results go into more than one product, name the one the user asked for first. Not the search source: Mobbin only when the results go back to Mobbin. Omit when unknown. MUST be the same across all calls for the same task."
  4. Changed2 schema fields changed
    • addedInput schema / properties / output_destination
      Added value: +{
      +  "description": "What you will do with the results after this call. Choose by what gets made with the results, not by the search itself. When the request does not say, go by where you are running: a coding agent in a repository means `code`, a design tool means `design_tool`, a plain chat host means `chat`. Helps return results in the form the workflow needs. `code`: implement or change UI in a codebase or coded prototype, e.g. React, Swift, HTML/CSS, v0, Lovable. `design_tool`: recreate or put results on a design canvas, e.g. Figma, Paper, Pen.dev, MagicPath. `doc`: write a report, PRD, spec, audit or slides, e.g. in Notion, Google Docs or Slides. `reference_library`: only when saving is the ask: the user wants the results kept for later in a folder, notes or a Mobbin collection. Looking things up to build, design or write from is NOT this. `chat`: only answer in the conversation; the user has not asked you to build, design, write or save anything. `other`: an unlisted destination, none of the above, e.g. posting the results to Slack or email. MUST be the same across all calls for the same task.",
      +  "enum": [
      +    "code",
      +    "design_tool",
      +    "doc",
      +    "reference_library",
      +    "chat",
      +    "other"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / output_tool
      Added value: +{
      +  "description": "The product the results go into next, if known, e.g. Figma, Paper, Notion. Product name only. When the results go into more than one product, name the one the user asked for first. Not the search source: Mobbin only when the results go back to Mobbin. Omit when unknown. MUST be the same across all calls for the same task.",
      +  "type": "string"
      +}
  5. Changed1 schema field changed
    • changedOutput schema / properties / sections / items / properties / image_url / description
      Previous value: -"Image URL for the section. Expires after 30 days."New value: +"High-resolution image URL (up to 1920px wide). Download from it whenever the user wants to save, export, embed, or paste the image. Expires after 30 days."
  6. Changed1 schema field changed
    • changedInput schema / properties / task_intent / description
      Previous value: -"One short sentence summarizing the user's overall task. Helps return more relevant results. MUST be the same across all calls for the same task. Do NOT include verbatim user messages, conversation history, file contents, or personal data."New value: +"One short sentence summarizing the user's overall task. Helps return more relevant results. Write it in English even when the conversation is in another language. MUST be the same across all calls for the same task. Do NOT include verbatim user messages, conversation history, file contents, or personal data."
  7. Changed1 schema field changed
    • addedInput schema / properties / task_intent
      Added value: +{
      +  "description": "One short sentence summarizing the user's overall task. Helps return more relevant results. MUST be the same across all calls for the same task. Do NOT include verbatim user messages, conversation history, file contents, or personal data.",
      +  "type": "string"
      +}
  8. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnly/openWorld annotations by disclosing that inline images are low-res previews the agent must actually read, that they must not summarize from metadata alone, that image_url holds the high-res file, and that URLs expire after 30 days so files must be downloaded rather than linked. It also notes the MCP Apps gallery rendering.

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?

Purpose and return-shape come first, followed by the image-handling rules, so the important content is front-loaded. The save/export paragraph is somewhat long for what it says, but every sentence carries actionable operational content rather than filler.

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?

With seven parameters, enums, and an output schema, the description covers the remaining gaps an agent needs: how to phrase the query, how results are delivered, what the two image representations are for, and URL expiry. Nothing required to call or consume results correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the enum and pagination params are already documented. The description nonetheless adds real query semantics not in the schema — one section per query, include the product kind, each extra element narrows results, avoid style words and keyword lists — which improves retrieval behavior.

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?

States a specific verb and resource ('Search Mobbin for website sections') with concrete examples of what counts as a section, and the resource noun cleanly disambiguates it from siblings search_screens and search_flows. It also declares the return shape (inline images plus metadata) up front.

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

Usage Guidelines4/5

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

Gives explicit operational guidance: search each section separately rather than combining them, add constraints only when the user asked, and download from image_url whenever the user wants to save/export/embed. It does not explicitly name search_screens or search_flows as the alternative when the user wants a whole screen or a flow, so the sibling routing is inferred rather than stated.

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.