Skip to main content
Glama

nexterm_get_snippet

Read-onlyIdempotent

Retrieve a single snippet by ID, optionally scoped to an organization, to fetch stored code or text from Nexterm.

Instructions

Get one snippet, optionally in an organization scope.

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": {
      "snippet_id": "<snippet_id>"
    },
    "name": "nexterm_get_snippet"
  }
}

Input Schema

NameRequiredDescriptionDefault
snippet_idYes
organization_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is fully covered and the bar is low. The description adds only the existence of an organization-scoped lookup mode, with no detail on what that scoping changes or what is returned.

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 no filler. It is terse to the point of under-specification, but nothing is wasted or buried.

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

Completeness2/5

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

With no output schema and 0% schema description coverage on a two-param tool, the description should describe the returned snippet shape and the organization-scope behavior. It does neither, leaving the agent to infer both.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/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 carry the parameter burden, and it only vaguely gestures at both params ('one snippet', 'organization scope'). It never explains what organization_id does when omitted (global lookup vs permission error) or the semantics of a null default.

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 (get one snippet) and distinguishes retrieval of a single entity from the sibling nexterm_list_snippets. It does not name any sibling explicitly, but the singular/plural split is clear enough for an agent.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this versus nexterm_list_snippets or nexterm_get_script, and no prerequisites stated. The 'optionally in an organization scope' clause hints at a mode but never says when or why to choose it.

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

Deploy Server

Other Tools