Skip to main content
Glama

Get embed snippet

get_embed_snippet
Read-onlyIdempotent

Get all the ways to send tickets into a project: the ready-to-use website snippet, the HTTP API (curl example + fields + origin rules), and the MCP path (create_ticket prefilled with this project's project_id). Use this so a coding agent can wire ticket submission for a project from a backend or from another project without opening the dashboard. Also returns allowed_origins and chat status. Identify the project by project_id, or by project_name (optionally narrowed with customer_name if the name is ambiguous).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_embed_snippet"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idNoProject UUID
project_nameNoProject name (case-insensitive, partial match) — used if project_id is omitted
customer_nameNoCustomer name to disambiguate when project_name matches more than one project

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety bar is low; the description nonetheless adds real content by enumerating what the response contains (script snippet, curl example with fields and origin rules, MCP path, allowed_origins, chat status). It does not mention auth or permission requirements, but for a read-only lookup this is a modest gap rather than a serious one.

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?

The resource and return contents are front-loaded in the first clause, and every sentence carries information about what comes back. The middle sentence is dense and slightly run-on with stacked parentheticals, but nothing is truly redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With read-only annotations, a fully documented three-parameter schema, and no output schema, the description does the necessary work by explaining the returned payload and the identification strategy. Minor omission: it doesn't say what happens if project_name remains ambiguous after customer_name, or whether an error or a candidate list is returned.

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%, so the baseline is 3, and the description largely restates the schema: project_id as primary key, project_name as fallback, customer_name as disambiguator. It does add the precedence rule (project_id first, project_name otherwise) and the ambiguity condition, but does not specify case-insensitivity or partial matching beyond what the schema already documents.

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 description names a specific verb and resource — retrieve the embed snippet and all ticket-submission paths (website <script>, HTTP curl, MCP create_ticket) for a project — plus the ancillary fields allowed_origins and chat status. It also distinguishes itself from the write-side siblings by noting that create_ticket is merely referenced as a prefilled path, not invoked.

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?

It states a clear use context: a coding agent wiring ticket submission from a backend or another project, without opening the dashboard. It stops short of explicit when-not guidance, e.g. it never tells the agent to use set_embed_allowed_origins when the goal is to change origins rather than read them, so the routing is implied rather than complete.

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