Skip to main content
Glama

Energy Podcast Digest

Find passages by meaning

semantic_search
Read-onlyIdempotent

Passage search over episode summary sections AND verbatim transcripts: pass a concept or question ("who discussed interconnection queues") and get the closest passages, each with its episode, section, kind, rank, and score. mode picks the retriever: auto (the default — currently hybrid; route reports the signal), semantic (cosine pin), keyword (BM25 — exact acronyms, names, and numbers like PJM, FERC 2023, 800 MW), or hybrid (both, fused by rank). mode in the response is the retriever that ran; rank is the ordering. Covers every summarized public episode, including AI-feed shows no weekly digest cited. Use search instead for names, typos, people, companies, or shows. English only. Returns passages, not an answer.

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": {
      "q": "<q>"
    },
    "name": "semantic_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
kNoPassages to return (default 8)
qYesConcept, question, or exact terms (≥2 chars)
kindNoRestrict to summary or transcript; omit for both
modeNoauto (default; currently hybrid), semantic (cosine pin), keyword (BM25, no embedder), or hybrid (rank fusion)auto
showNoRestrict to one or more shows (ANY-of): a feed key, display name, or /s/<num> id — one value, a comma-separated list, or an array
sinceNoEarliest episode publish date (YYYY-MM-DD)
untilNoLatest episode publish date (YYYY-MM-DD)
per_episodeNoMax passages per episode across both kinds (default 3)

Output Schema

NameRequiredDescriptionDefault
kindYesmixed, summary, or transcript
modeYesThe retriever that ran: semantic, keyword, or hybrid
queryYes
routeYesWhy auto chose its leg: quote, lexicon, digit, camel, semantic; null for explicit modes
resultsYes
degradedYesTrue when auto fell back to the leg that still works
embed_modelYesnull in keyword mode (no embedder call)
mode_requestedYesWhat the caller asked for, including auto
degraded_reasonYesindex_unavailable or embed_unavailable

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / show / description
      Previous value: -"Feed key, display name, or /s/<num> id — restrict to one show"New value: +"Restrict to one or more shows (ANY-of): a feed key, display name, or /s/<num> id — one value, a comma-separated list, or an array"
    • addedInput schema / properties / show / items
      Added value: +{
      +  "type": "string"
      +}
    • changedInput schema / properties / show / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "array"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / mode / description
      Previous value: -"auto (default; the server picks from the query), semantic (cosine), keyword (BM25, no embedder), or hybrid (rank fusion)"New value: +"auto (default; currently hybrid), semantic (cosine pin), keyword (BM25, no embedder), or hybrid (rank fusion)"
  3. Changed2 schema fields changed
    • changedInput schema / properties / mode / default
      Previous value: -"semantic"New value: +"auto"
    • changedInput schema / properties / mode / description
      Previous value: -"auto (recommended; the server picks from the query), semantic (cosine, default), keyword (BM25, no embedder), or hybrid (rank fusion)"New value: +"auto (default; the server picks from the query), semantic (cosine), keyword (BM25, no embedder), or hybrid (rank fusion)"
  4. Changed1 schema field changed
    • addedInput schema / properties / mode / default
      Added value: +"semantic"
  5. Changed10 schema fields changed
    • changedInput schema / properties / mode / description
      Previous value: -"semantic (cosine, default), keyword (BM25, no embedder), or hybrid (rank fusion)"New value: +"auto (recommended; the server picks from the query), semantic (cosine, default), keyword (BM25, no embedder), or hybrid (rank fusion)"
    • changedInput schema / properties / mode / enum
      Previous value: -[
      -  "semantic",
      -  "keyword",
      -  "hybrid"
      -]New value: +[
      +  "auto",
      +  "semantic",
      +  "keyword",
      +  "hybrid"
      +]
    • addedOutput schema / properties / degraded
      Added value: +{
      +  "description": "True when auto fell back to the leg that still works",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / degraded_reason
      Added value: +{
      +  "description": "index_unavailable or embed_unavailable",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / mode / description
      Previous value: -"semantic, keyword, or hybrid"New value: +"The retriever that ran: semantic, keyword, or hybrid"
    • addedOutput schema / properties / mode_requested
      Added value: +{
      +  "description": "What the caller asked for, including auto",
      +  "type": "string"
      +}
    • changedOutput schema / properties / results / items / properties / rank / description
      Previous value: -"Fused rank in hybrid mode"New value: +"Position returned; the ordering in every mode"
    • changedOutput schema / properties / results / items / required
      Previous value: -[
      -  "eid",
      -  "title",
      -  "show",
      -  "published",
      -  "section",
      -  "text",
      -  "kind",
      -  "score",
      -  "digest_slug",
      -  "url"
      -]New value: +[
      +  "eid",
      +  "title",
      +  "show",
      +  "published",
      +  "section",
      +  "text",
      +  "kind",
      +  "rank",
      +  "score",
      +  "digest_slug",
      +  "url"
      +]
    • addedOutput schema / properties / route
      Added value: +{
      +  "description": "Why auto chose its leg: quote, lexicon, digit, camel, semantic; null for explicit modes",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "query",
      -  "mode",
      -  "embed_model",
      -  "kind",
      -  "results"
      -]New value: +[
      +  "query",
      +  "mode",
      +  "mode_requested",
      +  "route",
      +  "degraded",
      +  "degraded_reason",
      +  "embed_model",
      +  "kind",
      +  "results"
      +]
  6. Changed12 schema fields changed
    • addedInput schema / properties / mode
      Added value: +{
      +  "description": "semantic (cosine, default), keyword (BM25, no embedder), or hybrid (rank fusion)",
      +  "enum": [
      +    "semantic",
      +    "keyword",
      +    "hybrid"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / q / description
      Previous value: -"Concept or question to match by meaning (≥2 chars)"New value: +"Concept, question, or exact terms (≥2 chars)"
    • changedInput schema / properties / show / description
      Previous value: -"Feed key — restrict to one show"New value: +"Feed key, display name, or /s/<num> id — restrict to one show"
    • addedOutput schema / properties / embed_model / description
      Added value: +"null in keyword mode (no embedder call)"
    • changedOutput schema / properties / embed_model / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • addedOutput schema / properties / mode
      Added value: +{
      +  "description": "semantic, keyword, or hybrid",
      +  "type": "string"
      +}
    • addedOutput schema / properties / results / items / properties / lexical_score
      Added value: +{
      +  "description": "BM25 (larger = better)",
      +  "type": "number"
      +}
    • addedOutput schema / properties / results / items / properties / rank
      Added value: +{
      +  "description": "Fused rank in hybrid mode",
      +  "type": "integer"
      +}
    • changedOutput schema / properties / results / items / properties / score / description
      Previous value: -"Cosine similarity (1.0 = identical)"New value: +"Cosine similarity (1.0 = identical) in semantic mode; null otherwise"
    • changedOutput schema / properties / results / items / properties / score / type
      Previous value: -"number"New value: +[
      +  "number",
      +  "null"
      +]
    • addedOutput schema / properties / results / items / properties / semantic_score
      Added value: +{
      +  "type": "number"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "query",
      -  "embed_model",
      -  "kind",
      -  "results"
      -]New value: +[
      +  "query",
      +  "mode",
      +  "embed_model",
      +  "kind",
      +  "results"
      +]
  7. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only cover read-only/idempotent/closed-world, but the description adds real behavioral context: `mode` in the response reports the retriever that actually ran, `route` exposes the auto signal, `rank` is the ordering, coverage spans all summarized public episodes including AI-feed shows no digest cited, and it is English only. It also warns that it returns passages, not an answer, which prevents a common misuse.

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?

Front-loaded with the core action and return shape, then mode semantics, then routing to the sibling. It is dense with backticked terms and slightly long, but nearly every clause carries actionable information; only the coverage claim about AI-feed shows borders on extra.

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?

An output schema exists, yet the description still supplies the essentials an agent needs: what a hit contains (episode, section, kind, rank, score), what `rank` and response `mode` mean, and the explicit caveat that it does not synthesize an answer. Nothing required for correct invocation 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 baseline is 3, but the description adds meaning beyond the schema for `mode` — auto is currently hybrid and the response echoes the resolved retriever, keyword means BM25 with no embedder, hybrid is rank fusion. The remaining parameters (k, kind, show, since/until, per_episode) are left to the schema, which documents them fully.

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 (passage search over episode summaries AND verbatim transcripts) and immediately names what it returns. It also explicitly distinguishes itself from the sibling `search`, so an agent can pick between them without opening a schema.

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?

Gives explicit routing rules: use this for concepts and questions, use `search` instead for names, typos, people, companies, or shows. It also tells the agent when to pick each `mode` (keyword for exact acronyms, names, and numbers like PJM, FERC 2023, 800 MW).

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