Skip to main content
Glama

Get started with Layer's API

get_started
Read-onlyIdempotent

How to work with Layer over its REST API and websocket: the base URL, how to send your key, the exact calls to find markets, place, watch and cancel paper orders, the live stream, and the docs. Use those calls directly from here on: they're faster than tools and can stream.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_started"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

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?

Annotations already declare readOnly, idempotent, open-world and non-destructive, so the safety profile is covered. The description adds that the content spans both REST and a live websocket stream, which is useful context. It does not disclose the return format (prose doc vs structured JSON) or how large the payload is, which matters for an agent planning its context budget.

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?

A single dense sentence front-loads what the tool contains, followed by one short directive. There is no padding. The second sentence is arguably an embedded instruction rather than tool documentation, but it is brief and relevant to how the returned material is meant to be used.

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?

With no parameters, no output schema and simple annotations, the description carries most of the burden for describing returns, and it does so by enumerating the topics covered. Only the presentation format of the returned material is left unspecified, a minor gap for a static onboarding resource.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate and the schema is fully specified. The baseline for a no-parameter tool applies.

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 concretely enumerates the payload: base URL, key transmission, exact REST calls for markets/orders/streaming, and docs pointers. It is clear this is an onboarding/documentation tool rather than an action tool. It does not differentiate itself from the sibling sandbox_account, so it stops short of a 5.

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 closing sentence gives forward-looking guidance ('use those calls directly from here on: they're faster than tools'), which implies this is a first-call entry point. However, it never states outright when to invoke this tool versus the sibling sandbox_account, nor whether it should be called once per session.

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.

Resources