Skip to main content
Glama

role_get

Retrieve a persona card's full text and statistics by name, or return the current role when no name is provided.

Instructions

读取一张人格卡的全文与统计;不给 name 时读当前角色。

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": "role_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and it does disclose that this is a read and how the default target is chosen. It says nothing about failure behavior when no current role exists, whether the full text can be large, or what the '统计' includes.

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?

A single compact sentence that front-loads the verb and return content before the defaulting rule; nothing is redundant or padded.

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 one-optional-parameter read tool with no output schema and no annotations, the description is minimally sufficient, but it leaves the shape of the '全文与统计' response and the no-current-role edge case entirely to inference.

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 coverage is 0%, so the description must compensate, and it does explain the one parameter's semantics: omitting name targets the current role. It adds no information on name format, case sensitivity, or whether an unknown name errors or resolves by prefix.

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?

Names a concrete read operation (读取) on a specific resource (人格卡) and states what is returned (全文与统计), so the agent knows this is a full-retrieval tool rather than a listing or metadata tool. It does not explicitly contrast itself with siblings like role_sections or role_list, which would have earned 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 omission rule ('不给 name 时读当前角色') gives a real usage cue for the no-argument case, but there is no guidance on when to prefer this over role_list or role_sections, nor any stated precondition such as whether a current role must be set.

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