Skip to main content
Glama

Get Team Rules

get-team-rules
Read-onlyIdempotent

Read workspace or owned-project rules to guide design decisions. Project rules require an owner key; anonymous callers receive drafting guidance instead.

Instructions

Read private workspace or owned-project rules. Project rules need the owner key; anonymous callers get drafting guidance.

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": "get-team-rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
partsNo
screenNo
contextNo
projectIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already establish that this is a safe, idempotent read. The description adds meaningful context beyond annotations by disclosing the owner-key requirement for project rules and the fallback behavior for anonymous callers.

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 short sentences, front-loaded with the core action and scoping, then the permission conditions. There is no redundant wording or filler.

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?

The description conveys purpose and permission context well, but with four entirely undocumented schema parameters and no output schema, it leaves the agent unable to interpret most inputs. More explanation of the parameter meanings is needed for correct invocation.

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% across four parameters, so the description must explain them. It only indirectly implies that 'project rules' relate to projectId and mentions an owner key that is not a schema parameter; it says nothing about 'parts', 'screen', or 'context'.

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?

The description uses a specific verb and resource: 'Read private workspace or owned-project rules.' It scopes the resource to team rules and distinguishes workspace versus project rules, but does not explicitly differentiate the tool from siblings such as set-team-rules or get-review-rules.

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?

It gives useful conditions: project rules require the owner key and anonymous callers receive drafting guidance. However, it does not state when to use this tool versus alternatives such as set-team-rules, nor does it give explicit exclusions or routing guidance.

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