Skip to main content
Glama
inncode-io

bogamatic-sac-mcp

by inncode-io

get_expediente

Retrieve a case by number or internal ID to get the full record, parties, lawyer's role, and the ID needed for related operations.

Instructions

Look up a single expediente (case) by its numeroExpediente OR idExpediente. Use this at the start of any chat about a case — it returns the full expediente record plus a partes block grouping actores, demandados, and abogados (with abogadosActor / abogadosDemandado). The ladoUsuario field tells you which side of the litigation the authenticated lawyer is on ("actor", "demandado", or null if no match). The lawyer matching the user's matrícula has esUsuario: true. If the partes fetch fails, partes is null and partesError carries a short reason. Use the returned idExpediente to drive subsequent tools (get_operaciones_expediente, get_adjuntos_expediente).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idExpedienteNoInternal expediente ID
numeroExpedienteNoCase number (e.g. '10013066')
Behavior4/5

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

With no annotations, the description bears full transparency burden. It discloses that the response includes a `partes` block, `ladoUsuario`, `esUsuario`, and a fallback where `partes` is null with an error reason. It also implies authentication context via the user's matrícula. It doesn't mention behavior for 'not found' but covers key state.

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?

Every sentence is information-dense and earns its place: action, usage timing, return structure, field semantics, fallback behavior, and downstream guidance. There is no redundant fluff, and the main verb is front-loaded.

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

Completeness5/5

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

Given no output schema, the description fully explains the return shape and behavioral nuances (partes block, ladoUsuario, esUsuario, partesError). It also places the tool in the larger workflow by linking to sibling tools. This is sufficient for an agent to invoke it and interpret results.

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 already describes both parameters (100% coverage), but the description adds the crucial relationship: either numeroExpediente OR idExpediente is used, and idExpediente is the internal ID to be passed to downstream tools. This adds meaning beyond the schema's individual field descriptions.

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 verb ('Look up'), the resource ('a single expediente'), and the key identifiers ('numeroExpediente OR idExpediente'). It distinguishes itself from the sibling tool get_expedientes by implying singular vs. plural use.

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?

Explicitly says 'Use this at the start of any chat about a case' and directs the agent to use the returned idExpediente with subsequent tools (get_operaciones_expediente, get_adjuntos_expediente). It doesn't explicitly list exclusions, but the context clearly implies when it is appropriate.

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/inncode-io/bogamatic-mcp'

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