Skip to main content
Glama
AnastasiaKWei

skyportal-mcp

analyze_color_evolution

Compute color evolution for an astronomical source by generating matched and interpolated color curves (band1-band2). Outputs CSV and Jupyter notebook with overlaid plots for analysis.

Instructions

Analyze color evolution and color at peak brightness.

Calculates color curves (band1 - band2) using BOTH methods:

  • Matched: Day-to-day colors (pairs close observations)

  • Interpolated: Rolling/continuous colors (interpolates for smooth curve)

Generates CSV data file + Jupyter notebook with overlaid plots.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
band1NoFirst photometric filter (default: "ztfg")ztfg
band2NoSecond photometric filter (default: "ztfr")ztfr
source_nameYesSource identifier - SkyPortal obj_id, ZTF name, or TNS name
max_data_gapNoFor matched method - if gap between consecutive observations in either band exceeds this, don't calculate colors across the gap (default: 3.0 days). Prevents spurious colors during observing gaps.
max_time_gapNoFor matched method - maximum time difference (days) to pair observations (default: 0.5 days)
output_formatNoOutput format - "notebook" (default) generates Jupyter notebook + CSV, "text" returns summary in chatnotebook

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 burden of disclosure. It does mention that it 'Generates CSV data file + Jupyter notebook,' which is a behavioral side effect. However, it does not explicitly state whether the operation is read-only or if it modifies source data, nor does it disclose any potential side effects like API calls or runtime. This leaves some ambiguity.

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 and well-structured, using bullet points to separate the two computational methods. It front-loads the primary purpose and keeps additional details compact. Every sentence adds value without redundancy, making it easy for an agent to quickly grasp core functionality.

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 the tool's complexity (6 parameters, one required, and an output schema), the description adequately covers the core workflow: calculating curves, generating CSV and notebook. It does not explain the meaning of 'color at peak brightness' or how peak brightness is determined, but the output schema likely covers return details. Overall, it is sufficient for a standard analysis tool.

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%, with each parameter already having a detailed description. The tool description adds minimal parameter-specific meaning, only referencing band1 and band2 in the context of color curves. Since the schema fully documents parameters and defaults, the baseline of 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 clearly states the tool's purpose: 'Analyze color evolution and color at peak brightness.' It specifies the resource (color curves from band1 - band2) and distinguishes itself from sibling tools like analyze_light_curve by focusing on color rather than light curves. The mention of both matched and interpolated methods further clarifies its scope.

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 gives a clear context for use—when you need color evolution analysis with two methods and artifact generation. However, it does not explicitly name alternatives or state when not to use this tool. The absence of exclusions is balanced by the specificity of the purpose, making the usage intent obvious.

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