Skip to main content
Glama

lookup_symbol

Resolve a FLOX symbol across all language bindings to get its local name, kind, and signature. Handles spelling variants and optionally filters by language.

Instructions

Resolve a FLOX symbol across every binding (C-API, Python, Node, Codon). Returns the local name, kind, and signature for each binding that exports it. Use this whenever the user names a struct, function, or indicator and you need to know what it's called in their language — never guess at the cross-language spelling. Accepts any spelling the user knows ('FloxBarData', 'BarData', 'flox_indicator_ema', 'ema', 'Ema'). Filter to one language with the language arg if the user is writing in a specific binding. When the symbol has hand-curated semantic gotchas (silent quantization, ordering preconditions, subscribed-vs-registry distinctions), they appear under a ## Gotchas section in the response.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesSymbol name in any binding's spelling. Case-sensitive; common transformations (Flox prefix, flox_indicator_ prefix) are tried automatically.
languageNoOptional binding filter. One of: capi, python, node, codon, quickjs.
Behavior4/5

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

With no annotations, the description carries full burden. It explains the lookup behavior, acceptance of various spellings, and the presence of gotchas. It could explicitly note that it is non-destructive or read-only, but overall it sufficiently discloses behavior.

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?

The description is concise, with no wasted words. Key information is front-loaded, and every sentence adds meaningful context.

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?

Given no output schema, the description explains return values (local name, kind, signature) and the gotchas section. It is complete for typical use, though potential limits (e.g., maximum bindings) are not mentioned.

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%, providing baseline 3. The description adds value by explaining that any spelling is accepted and that the `language` arg filters results, which goes beyond the schema's descriptions.

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 clearly states the tool's purpose: resolving a FLOX symbol across all bindings and returning local name, kind, and signature. This uniquely identifies it among sibling tools, which cover other operations like error codes or indicators.

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?

Explicit guidance is provided: use this when a user names a struct/function/indicator to avoid guessing cross-language spelling. It also recommends filtering by language with the `language` arg and notes that gotchas appear in the response.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/FLOX-Foundation/flox'

If you have feedback or need assistance with the MCP directory API, please join our Discord server