Skip to main content
Glama

Fetch Latest Syntax

fetch_latest_syntax
Read-onlyIdempotent

Curated working imports, snippets, and migration notes for one topic (agents, rag, wallet, payment, trustlines, …). Use when writing or migrating code; unknown topics fall back to related doc chunks instead of failing. Prefer search_ai_framework_docs for open-ended lookup and diagnose_framework_error for exceptions. Paid tools/call: $0.001 USDC or 1000 drops XRP; read-only catalog.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topicYesOne topic word: agents, rag, chat, tools, streaming, wallet, payment, trustlines, channels, rlusd, hooks, or migration
frameworkYesOne of langchain, llamaindex, ollama, or xrpl — the library the user is coding against

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
topicYes
importsYes
snippetsYes
frameworkYes
relatedDocsYes
versionNoteYes
migrationNotesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / framework / description
      Previous value: -"Target library: langchain | llamaindex | ollama | xrpl"New value: +"One of langchain, llamaindex, ollama, or xrpl — the library the user is coding against"
    • changedInput schema / properties / topic / description
      Previous value: -"Topic such as agents, rag, chat, tools, payment, wallet, trustlines, channels, rlusd, hooks, migration"New value: +"One topic word: agents, rag, chat, tools, streaming, wallet, payment, trustlines, channels, rlusd, hooks, or migration"
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true and idempotentHint=true, and the description adds beyond that by disclosing a per-call cost and the fallback-to-related-doc-chunks behavior. This extra context—especially the pricing and graceful failure mode—goes beyond what the structured annotations provide.

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?

Three concise sentences cover purpose, usage context, alternatives, fallback behavior, and cost. The core value statement is front-loaded and no sentence is wasted.

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?

Given the annotations, a complete input schema, an output schema, named siblings, and explicit usage guidance, the description covers everything an agent needs: what it returns, when to use it, what it costs, and how it handles unknown topics. There are no significant gaps.

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 description coverage is 100%, so the schema already fully documents both parameters. The description adds the high-level purpose ('writing or migrating code') and examples of topics, but no additional parameter-specific meaning that the schema does not already provide. 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 description states a specific, concrete deliverable—'curated working imports, snippets, and migration notes for one topic'—and scopes it to a single framework and topic. It also names the two sibling tools and distinguishes itself from them, so an agent can tell exactly when this tool is the right choice.

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?

The description gives explicit usage guidance: use when writing or migrating code, and it explains the fallback behavior for unknown topics. It also names alternatives—search_ai_framework_docs for open-ended lookup and diagnose_framework_error for exceptions—so the agent has clear routing criteria.

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.