Skip to main content
Glama

Read a brand from a codebase

read_repo
Read-only

Send a project's style files (Tailwind config, CSS variables, theme files, package.json, the root layout), at most 55,000 characters, and get back its colors for light and dark, its fonts, its corner radius and which of the logo paths you listed is the brand's. ideare init sends these when you are signed in. Free, within the daily import allowance.

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": {
      "files": "<files>"
    },
    "name": "read_repo"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesYes
logosNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover read-only, non-destructive and open-world behavior, and the description adds real context on top: a 55,000-character total payload cap, an authentication requirement ('when you are signed in'), and a cost/quota constraint ('Free, within the daily import allowance'). It does not explain failure or partial-detection behavior, which is why it is not a 5.

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?

The action, payload, and return values are front-loaded with essentially no filler, and the auth and quota notes are appended as short clauses. The single long sentence is dense but every clause carries information.

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?

With no output schema, the description does the work of describing return values (light/dark colors, fonts, radius, chosen logo), and it adds the payload cap, auth prerequisite and quota context needed before calling. What remains unclear is how ambiguous or missing style information is reported and whether the result is persisted anywhere, which matters for a tool sitting next to create_brand and import_brand.

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 description coverage is 0%, so the description must carry the meaning, and it does: it names the file kinds to place in `files`, states the 55,000-character aggregate limit (a constraint not derivable from the schema's 40x20,000 maxima), and explains the `logos` parameter as candidate paths whose winning entry is selected. It omits per-file/per-item limits and ordering, so it does not fully close the coverage gap.

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 states a concrete input ('send a project's style files ... package.json, the root layout') and a concrete, enumerated output ('colors for light and dark, fonts, corner radius, which logo path is the brand's'). An agent knows exactly what it will get back before calling, which is far beyond restating the name 'read_repo'.

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 implied usage context — '`ideare init` sends these when you are signed in' — so the agent can infer this belongs to the init flow. However, it never states when to prefer this over siblings such as check_brand, import_brand, or import_files, and gives no when-not-to-use condition. Usage is left to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources