Skip to main content
Glama
chaelynet

ChainMemory MCP

by chaelynet

get_role_contract

Retrieve a project's Verifiable Role Contract to understand role purpose, rules, checks, and working protocol. Read this before assuming a role.

Instructions

Get a project's Verifiable Role Contract (VRC): purpose, rules with checks and severity, working protocol. Read it BEFORE working under a role. Human-authored and owner-signed; models read it, never write it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectYesProject name
role_idYesRole id, e.g. 'charly'
Behavior5/5

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

With no annotations provided, the description fully bears the burden. It states the tool is read-only ('models read it, never write it'), human-authored, and owner-signed, clearly indicating safe, non-destructive behavior.

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?

The description is concise (two sentences) and front-loaded with purpose, then behavioral details. Every sentence adds value without redundancy.

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

Completeness4/5

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

The description covers the tool's purpose, content (purpose, rules, checks, severity, protocol), and read-only nature. While no output schema exists, the description gives a good overview; minor detail on response structure could be added.

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 100% with basic parameter descriptions. The description reinforces that project and role_id identify the contract but adds no significant new semantic detail beyond what the schema provides.

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?

The description clearly states the tool retrieves a Verifiable Role Contract for a given project and role. It distinguishes itself from siblings like assume_role by emphasizing reading before acting.

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?

The description explicitly advises to read the contract BEFORE working under a role, providing clear usage context. It does not explicitly enumerate when not to use alternatives, but the sibling context implies it is a prerequisite.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chaelynet/chainmemory-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server