Skip to main content
Glama

Labeled Programs

list-labeled-programs
Read-onlyIdempotent

Labeled Programs. Calls only GET /v4/programs/labeled-program-accounts and returns that response. Solana API endpoint for fetching known Solana program accounts. Identify labeled program accounts across DEXs and protocols.

Input Schema

NameRequiredDescriptionDefault
nameNoKnown program name
labelsNoLabels to filter over. Only programs matching all labels will be returned (eg. labels=DEFI,NFT)
entityIdNoEntity id to filter with (including as empty or null, such as "entity_id=" will filter programs without an entity_id)
sortByAscNoSort by ascending. Only one of `sortByAsc` or `sortByDesc` can be used
entityNameNoName of the business or entity that controls this program
sortByDescNoSort by descending. Only one of `sortByAsc` or `sortByDesc` can be used
programAddressNoTyped Solana public key identifier used across request parameters and response fields.

Output Schema

NameRequiredDescriptionDefault
bodyNo
statusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

The description confirms that the tool uses a GET request against a specific public API endpoint (/v4/programs/labeled-program-accounts). Since the annotations already cover safety profiles (readOnlyHint, destructiveHint), the description adds helpful, but not critical, operational context.

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 definition is highly concise and direct. It identifies the resource, the API method, and the operational scope in just two clear sentences without unnecessary jargon or fluff.

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?

The combination of 7 parameters, robust annotations, and the clear statement of its function provides a complete enough picture for an agent. The description successfully conveys the 'why' behind the tool's existence.

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?

Given that schema coverage is 100%, the baseline score of 3 applies. The description does add high-level guidance on how labels function ('matching all labels'), which is reinforced in the schema but contextualized here.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly defines the resource (Solana program accounts) and the action (fetching/identifying). By mentioning 'labeled program accounts across DEX and protocols,' it provides excellent operational context, making it distinct from general account listing tools.

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?

The description implies the usage scenario (identifying labeled programs), but it fails to explicitly compare when to use this tool versus similar siblings, such as list-labeled-accounts. It offers context without providing explicit operational boundaries.

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.