Skip to main content
Glama

modo_get_sdk_source

Read-only

Retrieve the full source code of a Modo SDK function or class by qualified name to confirm exact signatures and behavior after finding examples.

Instructions

Full source of one SDK function or class by qualified name, e.g. 'modo.scene.Scene.items' or 'modo.item.Item.childAtIndex'. Use after modo_search_examples when the exact signature or behaviour matters.

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": {
      "qualified_name": "<qualified_name>"
    },
    "name": "modo_get_sdk_source"
  }
}

Input Schema

NameRequiredDescriptionDefault
qualified_nameYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds that the full source body is returned rather than a summary, but says nothing about size, truncation, or failure behavior for an invalid or ambiguous qualified name. Useful but not rich behavioral context.

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 filler, with the purpose front-loaded and the usage condition following. Every clause carries information an agent needs to call the tool.

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

Completeness5/5

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

For a single-parameter read-only lookup with an output schema already describing return values and annotations covering safety, the description supplies everything needed: what it returns, the identifier format, and when to reach for it.

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 coverage is 0%, so the description must carry the parameter's meaning, and it does: it names the parameter's form and supplies two concrete qualified-name examples ('modo.scene.Scene.items', 'modo.item.Item.childAtIndex') that show the dot-separated module/class/member pattern. It stops short of stating whether the name is case-sensitive or what happens on ambiguity.

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?

States a specific verb and resource ('Full source of one SDK function or class') plus the qualifying selector ('by qualified name'), which immediately distinguishes it from a search or listing tool. An agent can tell this is a retrieval-by-identifier tool without inspecting the schema.

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?

Explicitly sequences it after modo_search_examples and states the selecting condition: 'when the exact signature or behaviour matters.' That gives both a prerequisite and a trigger, though it does not state when not to use it (e.g. for bulk or partial lookups).

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