Skip to main content
Glama

related_mcptoken

Fetch related objects for an MCP Token instance by relation name, with limit and offset controls, to inspect linked Django admin records. Discover relations first before querying.

Instructions

Fetch related objects for a MCP Token instance. Use describe_mcptoken to discover available relations.

Input Schema

NameRequiredDescriptionDefault
idYesThe ID of the MCP Token
limitNoMaximum number of related items to return (default: 100)
offsetNoNumber of items to skip (default: 0)
relationYesThe name of the relation to fetch (e.g., 'articles' for reverse FK)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. 'Fetch' implies a read, but it says nothing about pagination behavior, permissions needed, or what a related-object result looks like for a relation that doesn't exist.

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?

Two sentences, zero waste; the core action is front-loaded and the prerequisite follows immediately.

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 4-parameter traversal tool with no output schema and no annotations, the description covers the relation-discovery step but omits how results are shaped and how limit/offset behave across relations.

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 description coverage is 100%, so baseline is 3, and the description adds genuine value by explaining that valid 'relation' values must be discovered via describe_mcptoken rather than guessed.

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?

States a specific verb and resource: 'Fetch related objects for a MCP Token instance.' An agent can tell this apart from get_mcptoken or list_mcptoken, though the exact boundary versus list_mcptoken is left implicit.

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?

Gives a concrete prerequisite workflow: use describe_mcptoken first to discover valid relations. It does not state when-not to use it or compare it against list_mcptoken/related_article, so it stops short of full routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.