Skip to main content
Glama
AnastasiaKWei

skyportal-mcp

search_sources_near_position

Find existing or nearby sources within a radius of a sky position, using RA/Dec or a source ID to resolve coordinates.

Instructions

Search for sources in SkyPortal near a position (cone search).

Finds all sources within a specified radius of a sky position. Useful for checking if a source already exists in SkyPortal at a given location, or finding nearby sources.

Provide either ra/dec coordinates or a source_id to auto-resolve coordinates.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
raNoRight ascension in decimal degrees (J2000). Not needed if source_id is provided.
decNoDeclination in decimal degrees (J2000). Not needed if source_id is provided.
source_idNoSkyPortal source ID (e.g., "ZTF21aaaaaaa"). RA/Dec will be looked up automatically. Requires authentication.
num_per_pageNoMaximum number of sources to return (default: 100)
radius_arcsecNoSearch radius in arcseconds (default: 10.0)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description carries the behavioral disclosure burden. It adds the key behavior of returning sources within a radius and the auto-resolution of coordinates from a source_id. However, it does not disclose authentication requirements (other than in schema), rate limits, or behavior when no parameters are provided, which limits transparency.

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

Conciseness4/5

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

The description is concise (three sentences) but has minor redundancy: 'Search for sources near a position' is repeated in 'Finds all sources within a specified radius.' Overall it is well-structured and front-loaded with the core purpose.

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 description covers the tool's purpose, usage context, and key input alternatives. An output schema exists, so not explaining return values is acceptable. It could mention edge cases (e.g., if neither ra/dec nor source_id is provided), but the description is reasonably complete for a search tool.

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 the either/or relationship between ra/dec and source_id, helping the agent understand valid input combinations. This goes beyond the individual parameter 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 a specific action ('Search for sources in SkyPortal near a position') and explains it as a cone search. It distinguishes from siblings like generate_cone_search_code by focusing on the actual search operation, not code generation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

The description provides clear use cases: 'checking if a source already exists... or finding nearby sources.' It does not explicitly mention alternatives or when not to use, but the context is sufficient for an agent to understand appropriate use.

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/AnastasiaKWei/skyportal-mcp'

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