Skip to main content
Glama

lookup_symbol

Resolve any FLOX symbol across C-API, Python, Node, or Codon bindings. Get the local name, kind, and signature, plus semantic gotchas for your specific 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?

Describes input handling (case-sensitive, automatic transformations) and output structure (local name, kind, signature, gotchas section). Lacks explicit failure behavior (e.g., symbol not found) but otherwise thorough given no annotations.

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?

Concise yet comprehensive; front-loaded with purpose, each sentence provides essential information without redundancy.

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?

Covers return fields and gotchas, adequate for a lookup tool. Lacks precise response format, but given no output schema, this is acceptable.

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 baseline is 3. The description adds value by explaining automatic prefix transformations for the 'name' parameter and clarifying the 'language' parameter as a filter, improving understanding beyond the 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?

The description clearly states the tool resolves a FLOX symbol across all bindings, returning local name, kind, and signature. This differentiates it from sibling tools like lookup_error_code.

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?

Explicitly advises when to use: whenever the user names a struct, function, or indicator, and warns against guessing cross-language spelling. Also explains optional language filter.

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