---
name: "xpay-macrostrat-defs"
description: "Routes giving access to standard fields and dictionaries used in Macrostrat"
version: "1.0.0"
price: "$0.01/call"
provider: "Macrostrat"
---

# Defs

Routes giving access to standard fields and dictionaries used in Macrostrat

**Provider:** Macrostrat
**Price:** $0.01/call
**Pricing model:** Flat rate per call

## When to Use

Use this tool when you need to routes giving access to standard fields and dictionaries used in macrostrat. This is part of the Macrostrat provider on xpay✦.

## MCP Connection

Connect to xpay✦ to access this tool (and 7+ others):

```json
{
  "mcpServers": {
    "xpay": {
      "url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}
```

For Claude Code:
```bash
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
```

## How to Execute

Use the xpay✦ meta-tools to run this tool:

1. **`xpay_details`** — Get full input schema: `xpay_details("macrostrat/defs")`
2. **`xpay_run`** — Execute: `xpay_run("macrostrat/defs", { ...inputs })`

## Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `parameters` | string | Yes | parameters to pass to the endpoint |
| `endpoint` | string | Yes | The endpoint to query |

## Pricing

- **Cost:** $0.01/call
- **Balance check:** Use `xpay_balance` to check remaining credits
- Get your API key at [xpay.tools](https://xpay.tools/account/settings/api-keys/) — $5 free credits included

## Related Skills

- [Macrostrat (all tools)](https://xpay.tools/skills/macrostrat/SKILL.md) — 8 tools
- [Find Columns](https://xpay.tools/skills/macrostrat/find-columns/SKILL.md) — $0.01/call
- [Find Units](https://xpay.tools/skills/macrostrat/find-units/SKILL.md) — $0.01/call
- [Defs Autocomplete](https://xpay.tools/skills/macrostrat/defs-autocomplete/SKILL.md) — $0.01/call
- [Mineral Info](https://xpay.tools/skills/macrostrat/mineral-info/SKILL.md) — $0.01/call
- [Timescale](https://xpay.tools/skills/macrostrat/timescale/SKILL.md) — $0.01/call

## Links

- Tool page: https://xpay.tools/macrostrat/defs/
- Provider: https://xpay.tools/macrostrat/
- All tools: https://xpay.tools/explore
