Skip to main content
Glama

get_owned_positions

List the positions an address owns in a market, with listability (voted/attached positions can't transfer).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "marketId": "<marketId>",
      "owner": "<owner>"
    },
    "name": "get_owned_positions"
  }
}

Input Schema

NameRequiredDescriptionDefault
ownerYes
marketIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses a domain behavior beyond the name — that voted/attached positions are not transferable, surfaced via a listability notion — but it never states that this is a read-only operation, how results are ordered or paged, or what happens for an address with no positions.

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 front-loaded sentence with the primary operation first and the listability caveat second. Nothing is wasted, though the parenthetical aside is slightly compressed and would read more clearly as a separate clause.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter read tool with no output schema and no annotations, the description covers the core purpose and both parameters plus one behavioral caveat. It leaves open return shape, empty-result behavior, and pagination, which matters more here because no structured field fills those gaps.

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 0%, so the description must compensate. It does map both parameters conceptually ("an address" for owner, "in a market" for marketId), which is genuinely useful given the bare schema, but it adds no format detail, no note that owner is a 0x-prefixed address, and no guidance on how marketId is sourced.

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 states a specific verb and resource: "List the positions an address owns in a market." An agent can tell this is a read of position ownership scoped to one market and one owner. It does not explicitly contrast with siblings like get_listings or get_listing_details, 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?

Usage is only implied: the tool clearly answers "what positions does this address hold in this market," but there is no explicit when-to-use or when-not-to-use guidance and no named alternative for related queries such as listing details. The agent must infer the boundary from sibling names alone.

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