Skip to main content
Glama

Get a playable sample

get_sample
Read-onlyIdempotent

Returns a playable HTTPS URL for a public Foní demo recording (MP3). An optional language, accent, or sample id selects a file. There are seven public demos. If nothing matches, the response lists the available sample ids.

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_sample"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoSample id, for example spanish-spain-female
languageNoLanguage or accent to match, for example Spanish, British, or Mandarin

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / id / description
      Previous value: -"Sample id, e.g. spanish-spain-female"New value: +"Sample id, for example spanish-spain-female"
    • changedInput schema / properties / language / description
      Previous value: -"Language or accent to match, e.g. Spanish, British, Mandarin"New value: +"Language or accent to match, for example Spanish, British, or Mandarin"
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world. The description adds genuine context beyond them: the payload is an MP3 HTTPS URL, the catalog is limited to seven public demos, and a failed match degrades into a list of available sample ids rather than an error.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with the return value, then filtering, then catalog size and fallback. Nothing redundant or padded.

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?

For a two-optional-parameter read tool with no output schema, the description covers the return shape and the empty-result behavior. It stops short of saying whether the URL is stable, expiring, or how large the file is, which would matter for an agent chaining the URL.

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 both fields and their examples are already documented; the description only adds that they act as selection filters and what happens when nothing matches. Useful but marginal against a fully documented schema.

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 — returns a playable HTTPS URL (MP3) for a public demo recording — and names the selection fields. The result is concrete enough that an agent can tell it apart from siblings like list_accents or get_quote 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 Guidelines3/5

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

Implies usage ('An optional language, accent, or sample id selects a file') and describes the no-match fallback, so the calling pattern is inferable. However, it never says when to prefer this tool over list_languages/list_accents for discovering valid values, nor any exclusions.

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